:root {
  --purple: #7138D4;
  --purple-dark: #5a26b5;
  --purple-soft: #f3ecfd;
  /* Premium purple gradient: deep violet → brand purple → orchid */
  --grad: linear-gradient(135deg, #4B1C9E 0%, #7138D4 48%, #A866F5 100%);
  --grad-wide: linear-gradient(120deg, #3F1689 0%, #6129C4 35%, #7138D4 55%, #A866F5 100%);
  --dark: #373737;
  --muted: #666666;
  --line: #ececec;
  --bg: #ffffff;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(55, 55, 55, .08);
  /* One geometric sans (echoes the logo); headlines use it at semibold */
  --font-display: "Jost", system-ui, sans-serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--grad); background-size: 180% 180%; background-position: 0% 50%; color: #fff; transition: background-position .5s ease, transform .2s, box-shadow .2s; }
.btn--primary:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(91, 33, 182, .35); }
.btn--ghost { background: #f2f2f2; color: var(--dark); width: 100%; }
.btn--ghost:hover { background: var(--grad); color: #fff; }
/* White button with gradient text: the first layer is clipped to the text, the second fills the pill */
.btn--light {
  color: var(--purple);
  background-image: var(--grad), linear-gradient(#fff, #fff);
  -webkit-background-clip: text, padding-box; background-clip: text, padding-box;
  -webkit-text-fill-color: transparent;
}
.btn--light:hover { background-image: var(--grad), linear-gradient(var(--purple-soft), var(--purple-soft)); }
.btn--outline-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav > a:not(.btn) {
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  position: relative; padding: 6px 0;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .25s;
}
.nav > a:not(.btn):hover { color: var(--purple); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; font-size: 14px; font-weight: 600; }

.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.lang__btn { color: var(--muted); padding: 8px 4px; transition: color .2s; }
.lang__btn:hover { color: var(--dark); }
.lang__btn.is-active { color: var(--purple); }
/* Second, always-visible switch for phones and tablets (the nav one sits inside the burger menu) */
.lang--compact { display: none; }
.lang__sep { color: var(--line); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; isolation: isolate; overflow: hidden; }
/* Dotted globe: behind the content */
.hero__globe {
  position: absolute; z-index: -1; left: 50%; top: 270px;
  width: min(820px, 96vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 22%, #000 80%, transparent 96%);
          mask-image: linear-gradient(180deg, transparent 6%, #000 22%, #000 80%, transparent 96%);
}
.hero__text { text-align: center; position: relative; }
/* Soft white halo so the thin headline stays readable over the globe */
.hero__text::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: min(980px, 110%); height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.92), rgba(255,255,255,.75) 55%, rgba(255,255,255,0));
  pointer-events: none;
}
.hero__text > * { text-shadow: 0 0 14px #fff, 0 0 2px #fff; }
.eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .32em; color: var(--muted); margin-bottom: 22px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 600; line-height: 1.12; letter-spacing: -.01em;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.hero__accent {
  font-weight: 600; color: var(--purple);
  background-image: var(--grad-wide); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  /* text-shadow would paint over clipped text; keep the readability glow as a filter instead */
  text-shadow: none !important; filter: drop-shadow(0 0 10px rgba(255,255,255,.9));
}
.hero__sub {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 22px; color: var(--muted); font-size: 17px; font-weight: 500; letter-spacing: .04em;
}
.hero__sub::before, .hero__sub::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .5; }

/* Category cards */
/* All cards in one centred row (no scrolling); the arc is applied from JS */
.cats {
  display: flex; justify-content: center; gap: 12px;
  max-width: 1380px; margin: 0 auto; padding: 48px 32px 36px;
}
.cat {
  --ry: 0deg; --s: 1; --ty: 0px;
  position: relative; flex: 0 1 140px; min-width: 0; height: 190px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(900px) translateY(var(--ty)) rotateY(var(--ry)) scale(var(--s));
  transition: transform .3s ease-out, box-shadow .3s;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.45)); }
.cat span {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 1; background: var(--dark); color: #fff;
  font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center;
  padding: 8px 12px; border-radius: 999px; width: max-content; max-width: 92%;
  transition: background .25s;
}
.cat:hover { --ty: -6px; box-shadow: 0 18px 36px rgba(113, 56, 212, .18); }
.cat:hover img { transform: scale(1.06); }
.cat:hover span { background: var(--grad); }
.cat--all {
  background: var(--grad-wide); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.cat--all::after { display: none; }
.cat--all span { position: static; transform: none; background: none; font-size: 19px; font-weight: 700; padding: 0 16px; width: auto; max-width: none; white-space: normal; }
.cat--all svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.cat--all:hover span { background: none; }
.cat--all:hover svg { transform: translateX(6px); }

/* AI assistant prompt */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* AI assistant: purple gradient card, white input field, light text on purple */
.ask {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 20px auto 0; max-width: 920px;
  padding: 18px 20px 16px; border-radius: 24px;
  /* Slightly deeper than --grad-wide so small white text keeps ≥4.5:1 contrast at the light end */
  background: linear-gradient(120deg, #3F1689 0%, #5B24B8 45%, #7138D4 75%, #8A4FE6 100%); color: #fff;
  box-shadow: 0 18px 50px rgba(75, 28, 158, .35);
  transition: box-shadow .25s;
}
/* Soft light blooms for depth */
.ask::before, .ask::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.ask::before { width: 340px; height: 340px; right: -110px; top: -190px; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent); }
.ask::after { width: 260px; height: 260px; left: -90px; bottom: -170px; background: radial-gradient(closest-side, rgba(168,102,245,.55), transparent); }
.ask:focus-within { box-shadow: 0 22px 60px rgba(75, 28, 158, .45); }
.ask :focus-visible { outline-color: #fff; }
.ask__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ask__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 12px 5px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ask__badge svg { width: 16px; height: 16px; fill: #fff; }
.ask__hint { font-size: 12px; color: rgba(255,255,255,.92); }
.ask__box {
  display: flex; align-items: flex-end; gap: 12px;
  background: rgba(255,255,255,.96); border-radius: 16px; padding: 10px 10px 10px 18px;
  box-shadow: 0 6px 20px rgba(40, 10, 90, .18);
  transition: background .2s, box-shadow .2s;
}
.ask__box:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 6px 20px rgba(40, 10, 90, .18); }
.ask__input {
  flex: 1; min-height: 52px; max-height: 180px; resize: none;
  border: 0; outline: none; background: transparent;
  font: inherit; font-size: 16px; line-height: 1.55; color: var(--dark); padding: 6px 0;
}
.ask__input:focus, .ask__input:focus-visible { outline: none; }
.ask__input::placeholder { color: var(--muted); }
.ask__send {
  flex: 0 0 48px; height: 48px; border-radius: 14px;
  background: var(--grad); background-size: 180% 180%; background-position: 0% 50%; color: #fff; display: grid; place-items: center;
  transition: background-position .5s ease, transform .2s, opacity .2s, box-shadow .2s;
}
.ask__send:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91, 33, 182, .3); }
.ask__send svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ask__send:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12);
  font-size: 13px; color: #fff; transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: #fff; background: #fff; color: var(--purple); }
.ask__status { font-size: 14px; color: #fff; font-weight: 600; margin-top: 12px; }
.ask__status:empty { display: none; }
.ask__status.is-error { color: #ffe1e1; }

.stats {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 36px;
  margin-top: 26px; font-size: 14px; color: var(--muted);
}
.stats b { color: var(--purple); font-weight: 700; background-image: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Sections */
.section { padding: 64px 0; }
.section--tint { background: #faf8fe; }
.section__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
h1, h2 { font-family: var(--font-display); }
.section__head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow { margin-bottom: 0; color: var(--purple); background-image: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.link { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.link:hover { color: var(--purple); }

/* Card rows scroll sideways: 4 visible on desktop, peeking next card on smaller screens */
.cards {
  --cols: 4; --gap: 24px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px 4px 16px; margin: -8px -4px -16px; scroll-padding-inline: 4px;
}
.cards::-webkit-scrollbar { display: none; }
.cards > .card { scroll-snap-align: start; }
.section__tools { display: flex; align-items: center; gap: 16px; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--dark); transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.rail-nav button:hover:not(:disabled) { background: var(--grad); border-color: transparent; color: #fff; }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card { display: flex; flex-direction: column; gap: 6px; }
.card__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; margin-bottom: 10px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.badge {
  position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 10px; line-height: 1.3; box-shadow: 0 4px 14px rgba(75, 28, 158, .3);
}
.price {
  position: absolute; left: 12px; top: 12px;
  background: #fff; color: var(--dark); font-weight: 700; font-size: 14px;
  padding: 6px 12px; border-radius: 999px;
}
.fav {
  position: absolute; right: 12px; top: 12px; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.9); color: var(--dark);
  display: grid; place-items: center; transition: color .2s, transform .2s;
}
.fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fav:hover, .fav.is-on { color: var(--purple); transform: scale(1.1); }
.fav:hover svg, .fav.is-on svg { stroke: url(#grad-purple); }
.fav.is-on svg { fill: url(#grad-purple); }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.card__loc, .card__meta { font-size: 14px; color: var(--muted); }
.rating { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.rating b { background: var(--grad); color: #fff; padding: 3px 8px; border-radius: 8px; }
.stars { display: inline-flex; gap: 2px; color: var(--purple); }
.stars svg { width: 14px; height: 14px; fill: url(#grad-purple); }
.stars svg.off { fill: #ddd; }
.card .btn { margin-top: auto; }
.card__meta + .btn, .card__loc + .btn { margin-top: 10px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.step:hover {
  border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
}
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(75, 28, 158, .25);
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.steps__cta { display: flex; justify-content: center; margin-top: 32px; }
.steps__cta .btn { padding: 14px 32px; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--grad-wide);
  color: #fff; border-radius: 28px; padding: 56px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta__text { max-width: 640px; position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; margin-bottom: 14px; line-height: 1.15; letter-spacing: -.01em; }
.cta p { opacity: .9; line-height: 1.6; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Footer */
.footer { background: var(--dark); color: #cfcfcf; padding: 64px 0 24px; margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer p { font-size: 14px; }
.footer__bottom { border-top: 1px solid #4a4a4a; margin-top: 40px; padding-top: 20px; font-size: 13px; color: #9a9a9a; }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  transition: transform .2s;
}
.whatsapp:hover { transform: translateY(-3px); }
.whatsapp svg { width: 20px; height: 20px; fill: #fff; }

/* Focus & motion */
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, .cat:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .cat { --ry: 0deg !important; --s: 1 !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .cards { --cols: 2.4; }
}
/* Below this the single row gets too narrow for the labels: switch to a centred 3×3 grid */
@media (max-width: 1100px) {
  .cats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 760px; padding-top: 36px; }
}
@media (max-width: 920px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 24px;
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .nav .lang { display: none; }
  .lang--compact { display: flex; margin-left: auto; margin-right: 6px; }
  .lang--compact .lang__btn { padding: 13px 6px; }
  .ask__hint { display: none; }
  .steps { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header__inner { height: 68px; }
  .nav { top: 68px; }
  .logo img { height: 24px; }
  .hero { padding-top: 36px; }
  .hero__globe { top: 220px; width: 130vw; }
  /* Phones: one swipeable row instead of a grid */
  .cats {
    display: flex; justify-content: flex-start; gap: 10px; max-width: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 28px 16px 24px; scroll-padding-inline: 16px;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 132px; height: 170px; scroll-snap-align: start; }
  .cat span { font-size: 12px; padding: 7px 10px; bottom: 10px; }
  .cat--all span { font-size: 15px; padding: 0 8px; }
  .cards { --cols: 1.25; --gap: 16px; }
  .rail-nav { display: none; }
  .section { padding: 48px 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .whatsapp span { display: none; }
  .whatsapp { padding: 14px; }
}
