/* =========================================================
   TOTO Web Design: brand colours taken from the logo
   ========================================================= */
:root {
  --bg: #101226;
  --bg-alt: #14172f;
  --surface: #191c38;
  --ink: #ecebf7;
  --muted: #b6b9dc;
  --dim: #8286ad;
  --line: rgba(236, 235, 247, 0.09);
  --indigo: #9aa8ff;
  --sand: #f0d2a0;
  --orb: linear-gradient(135deg, var(--indigo), var(--sand));

  --radius: 18px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }   /* section headings don't hide under the sticky menu */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); max-width: 20ch; margin-bottom: 48px; }
h3 { font-size: 23px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
  background: var(--orb); transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--orb); color: #14162e;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s ease;
  box-shadow: 0 8px 30px -10px rgba(240, 210, 160, .55);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(154, 168, 255, .75); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(236, 235, 247, .25); box-shadow: none; }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; background: rgba(236,235,247,.04); }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn__icon { width: 16px; height: 16px; fill: currentColor; }
/* light sweep across primary buttons */
.btn--shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-20deg); animation: shine 5s ease-in-out 2.5s infinite; pointer-events: none;
}
@keyframes shine { 0% { left: -70%; } 22%, 100% { left: 130%; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 18, 38, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__brand { flex: none; }
.nav__menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav__menu a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; position: relative; }
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--orb);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__menu a:not(.btn):hover { color: var(--ink); }
.nav__menu a:not(.btn):hover::after { transform: none; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

/* Language dropdown */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px;
  font: 600 13px/1 var(--body); letter-spacing: .04em; color: var(--muted);
  background: rgba(236,235,247,.04); border: 1px solid var(--line); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lang__btn:hover, .lang.is-open .lang__btn { color: var(--ink); border-color: rgba(236,235,247,.25); }
.lang__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang__btn .lang__chev { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 170px;
  list-style: none; margin: 0; padding: 6px; border-radius: 14px;
  background: rgba(25, 28, 56, .96); border: 1px solid rgba(236,235,247,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a {
  display: flex; text-decoration: none; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: 500 14.5px/1 var(--body); color: var(--muted); text-align: left;
}
.lang__menu a:hover { background: rgba(236,235,247,.06); color: var(--ink); }
.lang__menu a[aria-current="true"] { color: var(--ink); }
.lang__menu a[aria-current="true"]::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orb);
  box-shadow: 0 0 10px rgba(240,210,160,.7);
}

@media (max-width: 1100px) {
  .nav__right { margin-left: auto; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s; }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__menu.is-open { display: flex; animation: menu-in .35s var(--ease); }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: 18px; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 80px) 0 clamp(70px, 9vw, 120px);
}
/* drifting colour glow */
.hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.hero__aurora i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(154,168,255,.16), transparent 62%);
  top: -25vmax; right: -15vmax; animation: drift-a 24s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(2) {
  background: radial-gradient(circle, rgba(240,210,160,.10), transparent 62%);
  top: 20%; left: -25vmax; right: auto; animation: drift-b 28s ease-in-out infinite alternate;
}
.hero__aurora i:nth-child(3) {
  width: 40vmax; height: 40vmax;
  background: radial-gradient(circle, rgba(170,140,255,.12), transparent 62%);
  top: 40%; right: 10%; animation: drift-c 20s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-12vmax, 10vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(14vmax, -8vmax) scale(.9); } }
@keyframes drift-c { to { transform: translate(-10vmax, -12vmax) scale(1.2); } }
/* soft light that follows the cursor (desktop) */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--glow, 0);
  background: radial-gradient(420px circle at var(--cx, 70%) var(--cy, 30%), rgba(240,210,160,.09), transparent 70%);
  transition: opacity .4s;
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
}

.hero__logo {
  display: block; width: min(340px, 80%); margin: 0 0 clamp(26px, 4vw, 40px) -6px;
  padding: 0; background: none; border: 0; cursor: pointer;
}
.hero__logo svg { width: 100%; height: auto; overflow: visible; }

.hero__title { font-size: clamp(40px, 5.4vw, 66px); font-weight: 300; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .line > span { display: inline-block; animation: line-up 1.1s var(--ease) var(--d, 0s) both; }
.hero__title .grad {
  background: linear-gradient(90deg, var(--indigo), var(--sand), #c9b6ff, var(--indigo)) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .line > .grad { animation: line-up 1.1s var(--ease) var(--d, 0s) both, shimmer 8s linear 2s infinite; }
@keyframes line-up { from { transform: translateY(110%) rotate(3deg); opacity: 0; } }
@keyframes shimmer { to { background-position: 300% 0; } }

.intro { animation: fade-up 1s var(--ease) var(--d, 0s) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }

.hero__sub { margin: 26px 0 12px; font-size: clamp(18px, 1.9vw, 21px); color: var(--ink); max-width: 32ch; }
.hero__lead { max-width: 44ch; margin: 0 0 36px; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Laptop: opens, floats, tilts; the website scrolls inside the screen ---------- */
.hero__visual { position: relative; padding: 0 0 70px; perspective: 1800px; }
.laptop {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  animation: float 7s ease-in-out 3s infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.laptop__screen {
  position: relative; aspect-ratio: 16 / 10; padding: 2.2%;
  border-radius: 16px 16px 4px 4px;
  background: #050611; border: 1px solid rgba(236,235,247,.14);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  transform-origin: 50% 100%;
  animation: lid-open 1.6s var(--ease) .4s both;
}
@keyframes lid-open {
  from { transform: rotateX(-86deg); filter: brightness(.25); }
  70% { filter: brightness(.8); }
  to { transform: none; filter: none; }
}
.laptop__screen::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10), transparent 35%);
}
.laptop__display { position: relative; height: 100%; overflow: hidden; border-radius: 4px; background: #f7fbfc; }
.laptop__display img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0;
  animation: screen-scroll 18s ease-in-out 3.2s infinite;
}
@keyframes screen-scroll {
  0%, 10% { object-position: 50% 0; }
  45%, 55% { object-position: 50% 100%; }
  90%, 100% { object-position: 50% 0; }
}
.laptop__base {
  height: 14px; margin: 0 -6%; position: relative;
  border-radius: 0 0 14px 14px; background: linear-gradient(#d4d5e2, #8d8fa6);
}
.laptop__base::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: 16%; height: 6px; border-radius: 0 0 8px 8px; background: #a5a7bb;
}
.laptop__shadow {
  height: 30px; margin: 4px 4% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent);
}

/* Phone: shows the same site in its mobile version */
.mobile {
  position: absolute; left: -7%; bottom: 18px; width: 23%; z-index: 2;
  aspect-ratio: 9 / 19; padding: 5px; border-radius: 28px;
  background: #07080f; border: 1px solid rgba(236,235,247,.18);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.04);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
  animation: phone-in 1.1s var(--ease) 1.5s both, float 6s ease-in-out 3.5s infinite;
}
@keyframes phone-in { from { opacity: 0; translate: -30px 60px; rotate: -6deg; } }
.mobile::before { /* dynamic island */
  content: ""; position: absolute; top: 11px; left: 50%; translate: -50% 0; z-index: 1;
  width: 30%; height: 9px; border-radius: 99px; background: #07080f;
}
.mobile__display { position: relative; height: 100%; overflow: hidden; border-radius: 23px; background: #f6f4ef; }
.mobile__display img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 0;
  animation: screen-scroll 22s ease-in-out 4s infinite;
}

/* ---------- AI chat window ---------- */
.chat {
  position: absolute; right: -4%; bottom: 0; width: min(300px, 62%);
  border-radius: 18px;
  background: rgba(25, 28, 56, .88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(236,235,247,.16);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), 0 0 60px -20px rgba(154,168,255,.5);
  font-size: 13.5px; line-height: 1.45;
  animation: chat-in .9s cubic-bezier(.2,1.3,.4,1) 2.3s both;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(40px) scale(.88); } }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat__avatar {
  width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--orb);
  box-shadow: 0 0 14px rgba(240,210,160,.5); animation: avatar-pulse 3s ease-in-out infinite;
}
@keyframes avatar-pulse { 50% { box-shadow: 0 0 22px rgba(240,210,160,.85); } }
.chat__name { margin: 0; font-weight: 600; font-size: 13.5px; }
.chat__status { margin: 0; font-size: 11.5px; color: #8fe3b0; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 172px; }
.msg { margin: 0; padding: 9px 12px; border-radius: 14px; max-width: 86%; }
.msg--bot { background: rgba(236,235,247,.09); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--orb); color: #14162e; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { display: none; gap: 4px; align-self: flex-start; background: rgba(236,235,247,.09); }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat.is-scripted .msg[data-step]:not(.msg--typing) { display: none; }
.chat.is-scripted .msg.is-shown { display: block !important; animation: msg-in .4s var(--ease) both; }
.chat.is-scripted .msg--typing.is-shown { display: flex !important; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }

@media (max-width: 920px) { .mobile { left: 0; } }
@media (max-width: 560px) {
  .hero__visual { padding-bottom: 150px; }
  .mobile { width: 30%; bottom: 0; border-radius: 22px; }
  .mobile__display { border-radius: 18px; }
  .chat { right: 0; width: 66%; font-size: 12.5px; }
  .chat__body { min-height: 150px; padding: 10px; }
}

/* Hero chat is clickable: opens the real assistant */
.chat { cursor: pointer; }
.chat__try {
  position: absolute; top: -13px; right: 18px; z-index: 2; white-space: nowrap;
  font: 600 11px/1 var(--body); letter-spacing: .03em; color: #14162e;
  padding: 6px 10px; border-radius: 999px; background: var(--orb);
  box-shadow: 0 0 0 0 rgba(240,210,160,.6); animation: try-pulse 2.4s ease-out 4s infinite;
}
@keyframes try-pulse { 70%, 100% { box-shadow: 0 0 0 10px rgba(240,210,160,0); } }
.chat:hover { border-color: rgba(240,210,160,.45); }
.ai-try { margin-top: 30px; padding-left: 14px; }
.ai-try .chat__avatar { width: 24px; height: 24px; }

/* =========================================================
   AI ASSISTANT WIDGET
   ========================================================= */
.ai-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px;
  background: rgba(25, 28, 56, .92); border: 1px solid rgba(236,235,247,.18); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.7), 0 0 40px -10px rgba(154,168,255,.5);
  font: 500 14px/1 var(--body); cursor: pointer;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ai-launch.is-ready { opacity: 1; transform: none; pointer-events: auto; }
.ai-launch.is-hidden { opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.ai-launch:hover { border-color: rgba(240,210,160,.5); }
.ai-launch__orb {
  width: 34px; height: 34px; border-radius: 50%; background: var(--orb);
  box-shadow: 0 0 16px rgba(240,210,160,.6); animation: avatar-pulse 3s ease-in-out infinite;
}
@media (max-width: 560px) { .ai-launch__label { display: none; } .ai-launch { padding: 8px; right: 16px; bottom: 16px; } .ai-launch__orb { width: 44px; height: 44px; } }

.ai-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 44px));
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: rgba(20, 23, 47, .97); border: 1px solid rgba(236,235,247,.16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.8), 0 0 70px -20px rgba(154,168,255,.45);
  font-size: 14.5px; line-height: 1.5;
  opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.ai-panel.is-open { opacity: 1; transform: none; }
.ai-panel[hidden] { display: none !important; }      /* closed = really gone (no invisible layer over the page) */
.ai-panel:not(.is-open) { pointer-events: none; }
@media (max-width: 560px) {
  .ai-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}
.ai-panel__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ai-panel__head > div { flex: 1; }
.ai-panel__close {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(236,235,247,.06); color: var(--muted); font-size: 22px; line-height: 1;
}
.ai-panel__close:hover { color: var(--ink); background: rgba(236,235,247,.12); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.ai-log .msg { animation: msg-in .35s var(--ease) both; white-space: pre-wrap; }
.ai-log .msg--typing { display: flex; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.ai-chips:empty { display: none; }
.ai-chips button {
  padding: 8px 12px; border-radius: 999px; cursor: pointer; font: 500 13px/1.2 var(--body);
  color: var(--ink); background: rgba(236,235,247,.05); border: 1px solid rgba(236,235,247,.18);
}
.ai-chips button:hover { border-color: var(--sand); }
.ai-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 12px 6px; border-top: 1px solid var(--line); }
.ai-form textarea {
  flex: 1; resize: none; max-height: 120px; padding: 11px 14px; border-radius: 16px;
  background: var(--bg); color: var(--ink); border: 1px solid rgba(236,235,247,.14);
  font: 400 16px/1.4 var(--body);   /* 16px: iPhone doesn't zoom in when typing */
}
.ai-form textarea:focus { outline: none; border-color: var(--indigo); }
.ai-form button {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orb); display: grid; place-items: center; transition: transform .2s;
}
.ai-form button:hover { transform: scale(1.06); }
.ai-form button:disabled { opacity: .5; cursor: default; }
.ai-form svg { width: 18px; height: 18px; fill: #14162e; }
.ai-note { margin: 0; padding: 4px 16px 12px; font-size: 11.5px; color: var(--dim); }
.ai-booking { display: grid; gap: 8px; }
.ai-booking p { margin: 0; color: var(--muted); font-size: 13.5px; }
.ai-booking iframe { width: 100%; height: 480px; border: 0; border-radius: 14px; background: #141414; }
.ai-booking a:not(.btn) { font-size: 13px; color: var(--sand); }
.ai-booking .btn { justify-self: start; }

/* ---------- Logo animation (mirrors brand/logo-animated.svg) ---------- */
.logo-anim.is-playing .la-b { transform-box: fill-box; transform-origin: left;   animation: la-wide .6s cubic-bezier(.2,.7,.2,1) both; }
.logo-anim.is-playing .la-s { transform-box: fill-box; transform-origin: top;    animation: la-grow .7s cubic-bezier(.2,.7,.2,1) .1s both; }
.logo-anim.is-playing .la-r { stroke-dasharray: 208; animation: la-draw 1.1s ease-out .3s both; }
.logo-anim.is-playing .la-d { transform-box: fill-box; transform-origin: center; animation: la-pop .9s cubic-bezier(.2,1.4,.4,1) .9s both, la-float 6s ease-in-out 2.2s infinite; }
.logo-anim.is-playing .la-g { transform-box: fill-box; transform-origin: center; animation: la-fade 1.6s ease-out 1s both, la-breathe 5s ease-in-out 2.6s infinite; }
.logo-anim.is-playing .la-t { animation: la-rise 1s ease-out 1.9s both; } /* after the orb has fully landed */
.la-r { stroke-dasharray: 208; }
/* After the intro: a soft golden glint sweeps over the letters, the orb slowly swirls, tiny sparkles twinkle */
.la-shine { animation: la-fade 1s ease 3s both; }
.spk { transform-box: fill-box; transform-origin: center; opacity: 0; animation: twinkle 3.6s ease-in-out infinite; }
.spk1 { animation-delay: 3.2s; } .spk2 { animation-delay: 4.4s; } .spk3 { animation-delay: 5.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 12% { opacity: 1; transform: scale(1.1) rotate(45deg); } 26% { opacity: 0; transform: scale(.3) rotate(90deg); } }
@keyframes la-wide    { from { transform: scaleX(0); } }
@keyframes la-grow    { from { transform: scaleY(0); } }
@keyframes la-draw    { from { stroke-dashoffset: 208; } to { stroke-dashoffset: 0; } }
@keyframes la-pop     { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes la-fade    { from { opacity: 0; } }
@keyframes la-rise    { from { opacity: 0; transform: translateY(6px); } }
@keyframes la-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.94); } }
@keyframes la-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* =========================================================
   TRUST TICKER
   ========================================================= */
.trust { border-block: 1px solid var(--line); background: var(--bg-alt); padding: 34px 0 30px; }
.trust__title { font-size: 20px; margin: 0 0 20px; max-width: none; color: var(--muted); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  list-style: none; margin: 0; padding: 0 48px 0 0;
  display: flex; gap: 48px; width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { display: flex; align-items: center; gap: 12px; font: 400 clamp(18px, 2vw, 22px)/1.2 var(--display); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.check { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--orb); position: relative; }
.check::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px;
  border: solid #14162e; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__lead { color: var(--muted); max-width: 560px; margin: -28px 0 44px; }
.eyebrow {
  font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand); margin-bottom: 18px;
}
.grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Spotlight that follows the pointer on cards (position set by JS) */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(154,168,255,.16), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::after { opacity: 1; }

/* ---------- Service cards ---------- */
.card {
  padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s;
}
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 24px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(154,168,255,.18), rgba(240,210,160,.18));
  transition: transform .5s var(--ease);
}
.card:hover { border-color: rgba(236,235,247,.2); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- KI section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split h2 { margin-bottom: 24px; }
.split__lead { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--orb);
}
.questions {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 12px; align-content: flex-start;
  padding: 40px; border-radius: 24px; min-height: 380px;
  background: var(--surface); border: 1px solid var(--line);
}
.questions__label { width: 100%; color: var(--dim); font-size: 14px; margin-bottom: 8px; }
.q {
  position: relative; z-index: 1;
  padding: 11px 16px; border-radius: 16px 16px 16px 4px;
  background: rgba(236,235,247,.07); border: 1px solid var(--line); font-size: 15px;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i) * 140ms + .3s);
  animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s);
}
.questions.is-visible .q { opacity: 1; transform: none; }
@keyframes bob { 50% { translate: 0 -5px; } }
.questions__orb {
  position: absolute; width: 220px; height: 220px; right: -50px; bottom: -60px; border-radius: 50%;
  background: var(--orb); opacity: .9;
  box-shadow: 0 0 120px 30px rgba(154,168,255,.35);
  animation: orb-pulse 6s ease-in-out infinite;
}
@keyframes orb-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 160px 50px rgba(240,210,160,.35); } }

/* ---------- Packages ---------- */
.packages { align-items: stretch; }
.package {
  display: flex; flex-direction: column;
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.package--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--ang), var(--indigo), var(--sand), rgba(154,168,255,.15) 35%, rgba(154,168,255,.15) 65%, var(--indigo)) border-box;
  box-shadow: 0 30px 80px -40px rgba(154, 168, 255, .7);
  animation: spin-border 5s linear infinite;
}
@keyframes spin-border { to { --ang: 360deg; } }
.package__badge {
  position: absolute; top: -13px; left: 32px; margin: 0;
  padding: 5px 12px; border-radius: 999px;
  background: var(--orb); color: #14162e; font: 600 12px/1.2 var(--body); letter-spacing: .04em;
}
.package__for { color: var(--dim); font-size: 15px; margin-bottom: 22px; }
.package__price { font: 300 52px/1 var(--display); margin-bottom: 8px; }
.package__price span { font-size: 18px; vertical-align: top; margin-right: 6px; color: var(--muted); letter-spacing: .05em; }
.package ul { list-style: none; padding: 0; margin: 0 0 32px; flex: 1; }
.package li { position: relative; padding: 9px 0 9px 26px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.package li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--orb);
}
.note { color: var(--dim); font-size: 14px; margin-top: 28px; }

.package__incl { color: var(--ink) !important; font-weight: 500; }
.package__incl::before { box-shadow: 0 0 10px rgba(240,210,160,.8); }

/* ---------- Under the packages: hosting & additional services ---------- */
.package__once { color: var(--sand); font-size: 14px; margin-bottom: 26px; }
.package__renew {
  margin: 0 0 22px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--muted);
  background: rgba(236,235,247,.04); border: 1px solid var(--line);
}
.package__renew b { color: var(--ink); font-weight: 600; }
.running {
  margin-top: 56px; padding: clamp(26px, 4vw, 44px); border-radius: 24px;
  background: linear-gradient(160deg, rgba(154,168,255,.06), rgba(240,210,160,.04)); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: start;
}
.running h3 { font-size: 26px; margin-bottom: 18px; }
.running__small { color: var(--dim); font-size: 14px; margin: 18px 0 0; }
.extras { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.extras dt, .extras dd { padding: 13px 0; border-top: 1px solid var(--line); margin: 0; }
.extras dt { color: var(--muted); }
.extras dd { text-align: right; font: 400 18px/1.3 var(--display); white-space: nowrap; padding-left: 16px; }
.extras dd span { font-size: 14px; color: var(--muted); }
.running__trust { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font-size: 15px; }
@media (max-width: 860px) { .running { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .extras dd { font-size: 16px; } }

/* ---------- Steps: the line draws itself ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step { padding: 28px 28px 28px 0; border-top: 1px solid var(--line); position: relative; }
.step::before {
  content: ""; position: absolute; top: -5px; left: 0; z-index: 1;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orb);
  box-shadow: 0 0 0 0 rgba(240,210,160,.5);
}
.step.is-visible::before { animation: ping 1.4s ease-out .6s; }
@keyframes ping { to { box-shadow: 0 0 0 14px rgba(240,210,160,0); } }
.step::after {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--sand), var(--indigo));
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .3s;
}
.step.is-visible::after { transform: none; }
.step__num { display: block; font: 300 15px/1 var(--display); color: var(--dim); margin: 14px 0 20px; letter-spacing: .1em; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Portfolio ---------- */
.grid-work { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.work {
  position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.work:hover { border-color: rgba(236, 235, 247, .22); }
.work__preview {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 24px; overflow: hidden;
  background: linear-gradient(160deg, #23264a, #171a33);
}
.work__body { padding: 22px 24px 26px; }
.work__tag { font-size: 12.5px; color: var(--sand); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.work h3 { font-size: 20px; }
.work__link { color: var(--muted); font-size: 15px; display: inline-block; transition: transform .3s var(--ease), color .3s; }
.work:hover .work__link { transform: translateX(6px); color: var(--ink); }
.browser {
  width: 100%; border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); transition: transform .6s var(--ease);
}
.browser__bar { display: flex; gap: 5px; padding: 8px 10px; background: #e9e8ef; }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9c7d3; }
/* The whole sample site lives in the frame and scrolls on hover (desktop) or by itself (touch) */
.browser__screen, .phone__screen { display: block; position: relative; overflow: hidden; }
.browser__screen { aspect-ratio: 16 / 10; }
.phone__screen { position: absolute; inset: 0; }
.browser__screen img, .phone__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 0;
  transition: object-position 6s cubic-bezier(.45,.05,.35,1);
}
.work:hover .browser__screen img, .work:hover .phone__screen img { object-position: 50% 100%; transition-duration: 7s; }
.work.is-autoplay .browser__screen img, .work.is-autoplay .phone__screen img { animation: screen-scroll 14s ease-in-out infinite; }
.work__preview { position: relative; }
.work__preview::after { /* "scroll" hint */
  content: ""; position: absolute; right: 14px; bottom: 14px; width: 22px; height: 34px; border-radius: 12px;
  border: 1.5px solid rgba(236,235,247,.55); opacity: .8; transition: opacity .3s;
  background: radial-gradient(circle at 50% 30%, var(--sand) 0 2.5px, transparent 3.5px) no-repeat;
  animation: wheel 1.8s ease-in-out infinite;
}
.work:hover .work__preview::after { opacity: 0; }
@keyframes wheel { 0% { background-position: 0 0; } 60%, 100% { background-position: 0 10px; } }
.work__preview--phone { padding-bottom: 0; align-items: end; }
.phone {
  width: 48%; aspect-ratio: 9 / 16; overflow: hidden;
  border: 6px solid #0b0c18; border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 24px 50px -10px rgba(0,0,0,.7); transform: translateY(14%); transition: transform .6s var(--ease);
}
.phone { position: relative; }
.work:hover .browser { transform: scale(1.04) rotate(-1deg); }
.work:hover .phone { transform: translateY(6%); }

/* Own product (HireQA): compact card */
.product {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: center;
  margin-bottom: 22px; padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.product__badge { display: inline-block; padding: 4px 10px; border-radius: 99px; background: rgba(143,152,244,.16); color: #c3c8ff; font: 600 11.5px/1.2 var(--body); letter-spacing: .04em; margin: 0 0 12px; }
.product__logo { display: block; width: 150px; height: auto; margin-bottom: 12px; }
.product__lead { font-size: 15.5px; color: var(--muted); margin-bottom: 14px; }
.product__chips { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product__chips li { padding: 5px 10px; border-radius: 99px; font-size: 12.5px; color: var(--ink); background: rgba(236,235,247,.05); border: 1px solid var(--line); }
.product__note { color: var(--sand); font-size: 13.5px; margin: 0; }
.product__visual { max-width: 380px; justify-self: end; width: 100%; }
.qa { background: #17191e; color: #e8e9f3; padding: 14px; font: 400 12px/1.4 var(--body); }
.qa__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #9aa0b4; }
.qa__head img { width: 86px; height: auto; }
.qa__scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.qa__scores div { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); display: grid; gap: 6px; }
.qa__grade { width: 26px; height: 26px; font-size: 14px !important; border-radius: 8px; display: grid; place-items: center; background: #3fb37f; color: #fff; font: 700 17px/1 var(--body); }
.qa__scores span { color: #b9bdd0; font-size: 12.5px; }
.qa__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qa__rows li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; background: rgba(255,255,255,.03); }
.qa__rows i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.qa__rows i.ok { background: #3fb37f; } .qa__rows i.warn { background: #f0b44c; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product__visual { justify-self: start; } }

.industries { margin-top: 44px; }
.industries__label { color: var(--dim); font-size: 14px; margin-bottom: 14px; }
.industries__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.industries__list li {
  padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  border: 1px solid var(--line); background: rgba(236,235,247,.03);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.industries__list li:hover { color: var(--ink); border-color: rgba(240,210,160,.5); transform: translateY(-2px); }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.nav__menu a[aria-current="page"] { color: var(--ink); }
.nav__menu a[aria-current="page"]::after { transform: none; }
.about-hero { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 110px) 0 clamp(60px, 8vw, 110px); }
.about-hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-title { font-size: clamp(38px, 5vw, 62px); font-weight: 300; margin-bottom: 22px; }
.about-title .grad { background: linear-gradient(90deg, var(--indigo), var(--sand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-hero .hero__lead { margin-top: 0; }
.about-hero__art { margin: 0; position: relative; }
.about-hero__art img {
  width: 100%; max-width: 480px; margin-left: auto; height: auto; border-radius: 28px; border: 1px solid rgba(236,235,247,.12);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -30px rgba(154,168,255,.5);
  animation: float 8s ease-in-out 2s infinite;
}
@media (max-width: 920px) { .about-hero__inner { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 64px; align-items: start; }
.story h2 { margin-bottom: 0; }
.story__text p { color: var(--muted); font-size: 18px; }
.facts { grid-column: 1 / -1; list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts li { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.facts b { font: 300 46px/1 var(--display); background: var(--orb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.member:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(240,210,160,.25); }
.member__img { overflow: hidden; aspect-ratio: 5 / 6; }
.member__img img { height: 100% !important; object-fit: cover; object-position: center top; }
.member__img img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.member:hover .member__img img { transform: scale(1.05); }
.member__body { padding: 24px 26px 28px; }
.member h3 { font-size: 28px; margin-bottom: 4px; }
.member__role { color: var(--sand); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.member__body > p:not(.member__role) { color: var(--muted); font-size: 15.5px; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 99px; font-size: 13px; color: var(--ink); background: rgba(236,235,247,.06); border: 1px solid var(--line); }
/* Toto's speech bubble */
.member__img { position: relative; }
.woof {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: var(--orb); color: #14162e;
  font: 700 16px/1 var(--body); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transform-origin: bottom right; animation: woof 6s ease-in-out 2.5s infinite both;
}
.member--toto:hover .woof { animation: woof-now .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes woof { 0%, 55%, 100% { opacity: 0; transform: scale(.4) rotate(8deg); } 62%, 88% { opacity: 1; transform: scale(1) rotate(-3deg); } 70% { transform: scale(1.12) rotate(4deg); } 76% { transform: scale(1) rotate(-3deg); } }
@keyframes woof-now { from { opacity: 0; transform: scale(.4) rotate(8deg); } to { opacity: 1; transform: scale(1.08) rotate(-3deg); } }
.member--toto .member__img img { animation: wiggle 6s ease-in-out 3s infinite; transform-origin: 50% 90%; }
@keyframes wiggle { 0%, 88%, 100% { rotate: 0deg; } 91% { rotate: -2.5deg; } 94% { rotate: 2.5deg; } 97% { rotate: -1deg; } }
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

.about-cta {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; align-items: center;
  padding: clamp(30px, 5vw, 60px); border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, rgba(154,168,255,.12), rgba(240,210,160,.08)); border: 1px solid rgba(236,235,247,.12);
}
.about-cta h2 { margin-bottom: 14px; }
.about-cta p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .about-cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(240,210,160,.14), rgba(154,168,255,.06) 50%, transparent 70%);
  animation: drift-c 18s ease-in-out infinite alternate;
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact__intro p { color: var(--muted); max-width: 420px; }
.contact__intro .btn { margin: 8px 0 24px; }
.contact__direct { font-size: 15px; }
.contact__direct a { color: var(--ink); }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; gap: 40px; } }

.form {
  display: grid; gap: 18px; padding: 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: 24px; } }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: var(--bg); color: var(--ink);
  border: 1px solid rgba(236,235,247,.14);
  font: 400 16px/1.4 var(--body);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(154,168,255,.15);
}
.form [aria-invalid="true"] { border-color: #ff8a8a; }
.form .btn { justify-self: start; }
.form__hp { position: absolute; left: -9999px; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; color: var(--sand); }

/* ---------- Booking calendar window ---------- */
.booking-modal {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px;
  background: rgba(8, 9, 20, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .3s;
}
.booking-modal[hidden] { display: none !important; }
.booking-modal.is-open { opacity: 1; }
.booking-modal__box {
  width: min(980px, 100%); height: min(760px, 100%); display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden; background: #141414; border: 1px solid rgba(236,235,247,.16);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease);
}
.booking-modal.is-open .booking-modal__box { transform: none; }
.booking-modal__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.booking-modal__head p { margin: 0; flex: 1; font: 400 18px/1.2 var(--display); }
.booking-modal__head a { font-size: 13px; color: var(--sand); }
.booking-modal iframe { flex: 1; width: 100%; border: 0; background: #141414; }
@media (max-width: 560px) {
  .booking-modal { padding: 0; }
  .booking-modal__box { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .booking-modal__head a { display: none; }
}

/* ---------- "View in your language?" suggestion ---------- */
.lang-offer {
  position: fixed; left: 50%; bottom: 24px; z-index: 75; translate: -50% 12px; opacity: 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding: 10px 12px 10px 18px; border-radius: 999px; max-width: calc(100vw - 24px);
  background: rgba(25, 28, 56, .96); border: 1px solid rgba(236,235,247,.16);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); font-size: 14px; color: var(--muted);
  transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.lang-offer.is-in { opacity: 1; translate: -50% 0; }
.lang-offer a { padding: 7px 14px; border-radius: 999px; background: var(--orb); color: #14162e; font-weight: 600; text-decoration: none; }
.lang-offer button { background: none; border: 0; color: var(--dim); cursor: pointer; font: inherit; padding: 7px 6px; }
.lang-offer button:hover { color: var(--ink); }
@media (max-width: 560px) { .lang-offer { border-radius: 18px; bottom: 88px; width: calc(100vw - 24px); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--dim); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__inner p { margin: 0; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__copy { width: 100%; }

/* ---------- Legal page ---------- */
.legal { padding: 70px 0 110px; max-width: 760px; }
.legal h1 { font-size: 44px; margin-bottom: 40px; }
.legal h2 { font-size: 30px; margin: 56px 0 18px; max-width: none; }
.legal h3 { font-size: 19px; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal .todo { color: var(--sand); }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(30px); filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
/* hover lifts (after reveal) */
.card:hover, .package:hover, .js .card.reveal.is-visible:hover, .js .package.reveal.is-visible:hover { transform: translateY(-6px) scale(1.025); z-index: 2; }
.work:hover, .js .work.reveal.is-visible:hover { transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(-8px) scale(1.045); z-index: 2; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(240,210,160,.25); }

/* ---------- Calm version for people who turned off animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .q { opacity: 1; transform: none; filter: none; }
  .marquee__track { flex-wrap: wrap; width: auto; gap: 14px 32px; padding: 0 24px; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Robust against longer texts (e.g. browser auto-translation) ---------- */
h1, h2, h3, p, li, dt, dd, a, span { overflow-wrap: break-word; }
.grid-3 > *, .grid-4 > *, .grid-work > *, .running > *, .split > *, .contact__inner > *, .about-cta > *, .product > *, .story > * { min-width: 0; }
.extras dd { white-space: normal; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; max-width: 100%; }
  .hero__cta .btn, .about-cta .btn { width: 100%; }
  .extras { grid-template-columns: 1fr; }
  .extras dd { text-align: left; padding: 0 0 13px; border-top: 0; padding-left: 0; }
  .lang__btn { max-width: 120px; }
  .lang__current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.footer nav { flex-wrap: wrap; gap: 8px 20px; }
.facts > li { min-width: 0; }
.facts span { overflow-wrap: anywhere; }

/* ---------- Payment ---------- */
.package__pay { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.package__pay:hover { color: var(--sand); text-decoration: underline; }
.pay-hero { padding-bottom: clamp(30px, 5vw, 60px); }
.pay-hero .hero__lead { max-width: 62ch; }
.pay-methods { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods li { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--ink); background: rgba(236,235,247,.06); border: 1px solid var(--line); }
.pay-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .4s var(--ease); }
.pay-card--featured { border-color: rgba(240,210,160,.45); box-shadow: 0 30px 70px -40px rgba(240,210,160,.6); }
.pay-card h3 { margin: 0; }
.pay-card__total { margin: 0 0 6px; color: var(--muted); font-size: 14.5px; }
.pay-card__total b { color: var(--ink); font-weight: 600; }
.pay-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: rgba(236,235,247,.04); border: 1px solid var(--line); transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.pay-row:hover { border-color: rgba(240,210,160,.5); background: rgba(240,210,160,.06); transform: translateX(3px); }
.pay-row b { display: block; font-weight: 600; font-size: 15px; }
.pay-row small { color: var(--dim); font-size: 13px; }
.pay-row__amt { font: 400 19px/1 var(--display); white-space: nowrap; }
.pay-row__go { color: var(--sand); font-size: 18px; }
.pay-steps { margin-top: 56px; }
.package__buy { flex-direction: column; gap: 4px; padding-block: 12px; }
.package__buy small { font: 500 12.5px/1.2 var(--body); opacity: .8; }
.product__link { margin-top: 16px; }
.product__logo-link { display: block; width: fit-content; }
