/* Self-hosted Geist Sans (OFL) — no Google Fonts request */
@font-face {
  font-family: Geist;
  src: url("../fonts/geist-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: Geist;
  src: url("../fonts/geist-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: Geist;
  src: url("../fonts/geist-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

/* TSM — grainy dark UI, galaxy palette */

:root {
  --bg: #07060c;
  --bg-2: #14081f;
  --ink: #eef4ff;
  --muted: #9aa3c4;
  --lime: #2ee8e4;
  --lime-2: #8ff7f3;
  --cyan: #2ee8e4;
  --blue: #121e8a;
  --magenta: #b31a78;
  --violet: #2a0848;
  --line: rgba(142, 247, 243, 0.12);
  --font: 'Geist', system-ui, sans-serif;
  --header: 76px;
  --section-y: 4.5rem;
  --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-y: -16px;
  --reveal-dur: 0.85s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.35;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: none;
}

.blob-a {
  width: 52vw;
  height: 52vw;
  left: 8%;
  bottom: -18%;
  background: radial-gradient(circle, #b31a78 0%, transparent 70%);
}

.blob-b {
  width: 44vw;
  height: 44vw;
  right: -8%;
  top: 8%;
  background: radial-gradient(circle, #2ee8e4 0%, transparent 68%);
  animation-duration: 22s;
}

.blob-c {
  width: 48vw;
  height: 48vw;
  left: 18%;
  top: 28%;
  background: radial-gradient(circle, #121e8a 0%, transparent 70%);
  animation-duration: 26s;
}

.blob-d {
  width: 36vw;
  height: 36vw;
  left: -10%;
  top: -8%;
  background: radial-gradient(circle, #2a0848 0%, transparent 70%);
  animation-duration: 16s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -6%, 0) scale(1.12); }
}

.nav-backdrop {
  display: none;
}

.header,
.section,
.hero,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 20;
  background: rgba(7, 6, 12, 0.58);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.policy-page .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.policy-page .header-inner > .logo-link { justify-self: start; }
.policy-page .header-inner > .btn { justify-self: center; }
.policy-page .header-inner > .lang-toggle { justify-self: end; }

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img,
.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(1.15);
  transition: filter 0.45s var(--ease), transform 0.45s var(--ease);
}

.logo-mark,
.footer-mark {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--ink);
}

.logo-mark {
  font-size: 1.55rem;
  transition: color 0.35s var(--ease), transform 0.45s var(--ease);
}

.footer-mark {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.logo-link:hover .logo-img,
.logo-link.is-hover .logo-img {
  transform: translateY(-8px);
  filter: invert(1) brightness(1.15) drop-shadow(0 18px 28px rgba(46, 232, 228, 0.28));
}

.logo-link:hover .logo-mark,
.logo-link.is-hover .logo-mark {
  color: var(--lime);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-list {
  display: flex;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 0.2rem;
  transition: color 0.35s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav-link.active {
  color: var(--lime);
}

.nav-link.active::after {
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover,
  .nav-link.is-hover {
    color: var(--lime);
  }
  .nav-link:hover::after,
  .nav-link.is-hover::after {
    transform: scaleX(1);
  }
}

.nav-close {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 38px;
  padding: 0 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}

.lang-toggle .flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: rgba(46, 232, 228, 0.45);
  color: var(--lime);
  background: rgba(46, 232, 228, 0.08);
}

.menu-bar {
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle.active .menu-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.active .menu-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.38) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}

.btn:hover,
.btn.is-hover {
  transform: translateY(-8px);
  border-color: rgba(46, 232, 228, 0.45);
  box-shadow:
    0 22px 50px rgba(7, 6, 12, 0.35),
    0 0 0 1px rgba(46, 232, 228, 0.12),
    0 16px 40px rgba(46, 232, 228, 0.08);
}

.btn:hover::after,
.btn.is-hover::after {
  transform: translateX(130%);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  color: #07060c;
}

.btn-lime:hover,
.btn-lime.is-hover {
  background: var(--lime-2);
  box-shadow:
    0 22px 50px rgba(7, 6, 12, 0.35),
    0 0 0 1px rgba(46, 232, 228, 0.12),
    0 16px 40px rgba(46, 232, 228, 0.18);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover,
.btn-ghost.is-hover {
  border-color: rgba(46, 232, 228, 0.45);
  color: var(--lime);
  background: rgba(46, 232, 228, 0.08);
}

.btn-sm {
  height: 38px;
  padding: 0 1rem;
  font-size: 0.8rem;
}

.hero {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--header) + 2.8rem) 0 0;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.chip {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 232, 228, 0.4);
  background: rgba(46, 232, 228, 0.1);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.chip:hover,
.chip.is-hover,
.hero-content.is-in .chip:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 232, 228, 0.45);
  box-shadow:
    0 22px 50px rgba(7, 6, 12, 0.35),
    0 0 0 1px rgba(46, 232, 228, 0.12),
    0 16px 40px rgba(46, 232, 228, 0.08);
}

.hero-title,
.section-title {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-title {
  font-size: clamp(3.4rem, 9vw, 7.2rem);
  margin-bottom: 1.2rem;
}

.hero-tagline,
.section-desc {
  color: var(--muted);
  font-weight: 400;
  max-width: 36rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: var(--section-y) 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.45;
}

.spec-grid,
.product-grid,
.quote-grid,
.price-grid {
  display: grid;
  gap: 1rem;
}

.spec-grid,
.quote-grid,
.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.spec-card,
.product-card,
.quote-card,
.price-card,
.contact-panel,
.steps li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    background 0.5s var(--ease);
}

.spec-card:hover,
.spec-card.is-hover,
.quote-card:hover,
.quote-card.is-hover,
.price-card:hover,
.price-card.is-hover,
.steps li:hover,
.steps li.is-hover,
.product-card:hover,
.product-card.is-hover,
.contact-panel:hover,
.contact-panel.is-hover {
  transform: translateY(-8px);
  border-color: rgba(46, 232, 228, 0.45);
  box-shadow:
    0 22px 50px rgba(7, 6, 12, 0.35),
    0 0 0 1px rgba(46, 232, 228, 0.12),
    0 16px 40px rgba(46, 232, 228, 0.08);
}

.spec-card::before,
.quote-card::before,
.price-card::before,
.steps li::before,
.contact-panel::before,
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 25%, rgba(46, 232, 228, 0.1) 48%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
  z-index: 2;
}

.spec-card:hover::before,
.spec-card.is-hover::before,
.quote-card:hover::before,
.quote-card.is-hover::before,
.price-card:hover::before,
.price-card.is-hover::before,
.steps li:hover::before,
.steps li.is-hover::before,
.contact-panel:hover::before,
.contact-panel.is-hover::before,
.product-card:hover::after,
.product-card.is-hover::after {
  transform: translateX(120%);
}

.spec-card,
.quote-card {
  padding: 1.6rem;
}

.spec-card h3,
.quote-card h3,
.product-body h3,
.price-card h3,
.steps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.spec-card p,
.quote-card p,
.product-body p,
.price-card .note,
.steps p {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.spec-card.highlight {
  background: linear-gradient(180deg, rgba(46, 232, 228, 0.16), rgba(179, 26, 120, 0.14));
  border-color: rgba(46, 232, 228, 0.45);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-visual {
  height: 160px;
  position: relative;
  overflow: hidden;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.product-card:hover .product-visual,
.product-card.is-hover .product-visual {
  transform: scale(1.07);
  filter: saturate(1.15) brightness(1.08);
}

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.v1 { background: radial-gradient(circle at 50% 80%, #2ee8e4, #121e8a 42%, #07060c 72%); }
.v2 { background: radial-gradient(circle at 40% 70%, #b31a78, #2a0848 48%, #07060c 74%); }
.v3 { background: radial-gradient(circle at 60% 85%, #8ff7f3, #b31a78 38%, #121e8a 70%); }

.product-body {
  padding: 1.4rem 1.4rem 1.6rem;
}

.product-index {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.product-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.product-body li {
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}

.product-card:hover .product-body li,
.product-card.is-hover .product-body li {
  border-color: rgba(46, 232, 228, 0.35);
  color: var(--ink);
  background: rgba(46, 232, 228, 0.08);
}

.product-body li.feature-accent {
  color: var(--lime);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-color: rgba(46, 232, 228, 0.5);
  background: rgba(46, 232, 228, 0.14);
  box-shadow: 0 0 0 1px rgba(46, 232, 228, 0.08);
}

.product-card:hover .product-body li.feature-accent,
.product-card.is-hover .product-body li.feature-accent {
  color: var(--lime-2);
  border-color: rgba(46, 232, 228, 0.75);
  background: rgba(46, 232, 228, 0.22);
  box-shadow:
    0 10px 24px rgba(7, 6, 12, 0.25),
    0 0 0 1px rgba(46, 232, 228, 0.18);
}

.steps {
  display: grid;
  gap: 1rem;
  isolation: isolate;
  padding-block: 14px 24px;
}

.steps li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  align-items: start;
  z-index: 1;
}

.steps li:hover,
.steps li.is-hover {
  z-index: 8;
}

.steps li span {
  color: var(--lime);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

.price-card {
  padding: 1.6rem;
  position: relative;
}

.from,
.iva {
  color: var(--muted);
  font-size: 0.75rem;
}

.amount {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0.25rem 0 0.35rem;
}

.amount span {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price-include {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 40rem;
}
.price-include + .price-include {
  margin-top: 0.35rem;
}
.price-gdpr {
  display: block;
}

.contact-panel {
  padding: 3rem 2rem;
  text-align: center;
}

.contact-panel .section-desc {
  margin: 0 auto 1.6rem;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.contact-meta {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--section-y) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.2rem;
}

.footer-legal a,
.footer-copy,
.footer-brand p {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-legal a {
  transition: color 0.35s var(--ease);
}

.footer-legal a:hover {
  color: var(--lime);
}

.contact-meta p {
  transition: color 0.35s var(--ease);
}

.chip,
.hero-title,
.hero-tagline,
.hero-actions {
  opacity: 1;
  transform: none;
}

.hero-content.is-in .chip,
.hero-content.is-in .hero-title,
.hero-content.is-in .hero-tagline,
.hero-content.is-in .hero-actions {
  opacity: 1;
  transform: none;
}

.hero-content.is-in .chip { transition-delay: 0s; }
.hero-content.is-in .hero-title { transition-delay: 0.08s; }
.hero-content.is-in .hero-tagline { transition-delay: 0.16s; }
.hero-content.is-in .hero-actions { transition-delay: 0.24s; }

.page-cover {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(46, 232, 228, 0.16), transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(179, 26, 120, 0.2), transparent 50%),
    #07060c;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.page-cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cover-logo {
  position: relative;
  display: inline-block;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  color: var(--ink);
  white-space: nowrap;
  filter: drop-shadow(0 0 18px rgba(46, 232, 228, 0.28));
  animation:
    logoIn 0.9s var(--ease) both,
    logoPulse 1.6s ease-in-out 1.05s infinite alternate;
}

.page-cover-logo::after {
  content: 'Vuebb.';
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--magenta), var(--lime));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  clip-path: inset(0 100% 0 0);
  animation: logoFill 0.9s var(--ease) 0.28s forwards;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes logoFill {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes logoPulse {
  from { filter: drop-shadow(0 0 18px rgba(46, 232, 228, 0.28)); }
  to { filter: drop-shadow(0 0 40px rgba(46, 232, 228, 0.55)); }
}

.page-cover.is-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-booting {
  overflow: hidden;
}

.header {
  opacity: 1;
}

body.is-ready .header {
  opacity: 1;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.spec-card.reveal.visible:hover,
.spec-card.reveal.visible.is-hover,
.spec-card.reveal.is-in:hover,
.spec-card.reveal.is-in.is-hover,
.quote-card.reveal.visible:hover,
.quote-card.reveal.visible.is-hover,
.quote-card.reveal.is-in:hover,
.quote-card.reveal.is-in.is-hover,
.price-card.reveal.visible:hover,
.price-card.reveal.visible.is-hover,
.price-card.reveal.is-in:hover,
.price-card.reveal.is-in.is-hover,
.product-card.reveal.visible:hover,
.product-card.reveal.visible.is-hover,
.product-card.reveal.is-in:hover,
.product-card.reveal.is-in.is-hover,
.steps li.reveal.visible:hover,
.steps li.reveal.visible.is-hover,
.steps li.reveal.is-in:hover,
.steps li.reveal.is-in.is-hover,
.portfolio-trigger.reveal.visible:hover,
.portfolio-trigger.reveal.visible.is-hover,
.portfolio-trigger.reveal.is-in:hover,
.portfolio-trigger.reveal.is-in.is-hover,
.portfolio-trigger.reveal.visible.is-open,
.portfolio-trigger.reveal.is-in.is-open,
.shot.reveal.visible:hover,
.shot.reveal.visible.is-hover,
.shot.reveal.is-in:hover,
.shot.reveal.is-in.is-hover,
.contact-panel.reveal.visible:hover,
.contact-panel.reveal.visible.is-hover,
.contact-panel.reveal.is-in:hover,
.contact-panel.reveal.is-in.is-hover {
  transform: translateY(-8px);
}


.cta-book-header {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: 0.7rem;
}

.cta-book-float {
  display: none;
  position: fixed;
  right: 1.35rem;
  bottom: 4.5rem;
  z-index: 40;
}

.cta-book-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 232, 228, 0.28);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(46, 232, 228, 0);
  }
}

body.cookie-lock .cta-book-float,
body.book-open .cta-book-float,
.page-cover:not(.is-out) ~ .cta-book-float {
  opacity: 0;
  pointer-events: none;
}

.book-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(7, 6, 12, 0.82);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

.book-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.book-modal[hidden] {
  display: none;
}

.book-modal.is-open[hidden] {
  display: flex;
}

.book-modal-panel {
  width: min(720px, 100%);
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  background: rgba(14, 12, 22, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow:
    0 22px 50px rgba(7, 6, 12, 0.35),
    0 0 0 1px rgba(46, 232, 228, 0.12),
    0 16px 40px rgba(46, 232, 228, 0.08);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}

.book-modal.is-open .book-modal-panel {
  transform: none;
  opacity: 1;
}

.book-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.book-modal-copy h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.15rem 0 0.4rem;
}

.book-modal-copy p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.book-modal-legal {
  margin-top: 0.45rem;
  font-size: 0.75rem !important;
}

.book-modal-legal a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-modal-head .gallery-close {
  position: static;
  flex-shrink: 0;
}

.book-modal-frame {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem 1.1rem;
}

.book-modal-frame .browser {
  margin-bottom: 0.7rem;
}

.book-modal-frame iframe {
  width: 100%;
  height: min(62vh, 620px);
  border: 0;
  border-radius: 18px;
  background: #fff;
}

@media (min-width: 769px) {
  .cta-book-float {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .spec-grid,
  .product-grid,
  .quote-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    height: 100vh;
    background: #07060c;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header) + 1.5rem) 1.4rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    border-left: 1px solid var(--line);
    z-index: 19;
  }

  .nav.open {
    transform: none;
    z-index: 21;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 0.85rem;
    right: 0.75rem;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    font-size: 2.35rem;
    line-height: 1;
    color: var(--ink);
    border-radius: 999px;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.55rem;
    width: 100%;
  }

  .nav .nav-link {
    font-size: 1.42rem;
    font-weight: 600;
    padding: 0.35rem 0 0.5rem;
    display: inline-block;
  }

  .nav > .btn {
    margin-top: 0.35rem;
    height: auto;
    min-height: 0;
    padding: 0.45rem 1.15rem;
    font-size: 1.22rem;
    font-weight: 600;
    border-radius: 999px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    right: min(320px, 86vw);
    z-index: 18;
    pointer-events: none;
    opacity: 0;
    background: rgba(7, 6, 12, 0.22);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    transition: opacity 0.45s var(--ease);
  }

  body.nav-open .nav-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .cta-book-header {
    display: inline-flex;
  }

  .cta-book-float {
    display: none;
  }

  .header .container {
    width: 100%;
    padding-inline: clamp(10px, 3.6vw, 20px);
  }

  .header-inner {
    --hdr-gap: clamp(0.38rem, 2.3vw, 0.9rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    min-width: 0;
  }

  .header-inner > .logo-link {
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .header-inner > .nav {
    flex: 0 0 0;
    width: min(320px, 86vw);
    margin: 0;
    min-width: 0;
  }

  .header-inner > .cta-book-header,
  .header-inner > .lang-toggle,
  .header-inner > .menu-toggle,
  .header-inner > .header-actions {
    flex: 0 0 auto;
    margin-left: var(--hdr-gap);
  }

  .header-inner > .cta-book-header {
    margin-left: 0;
  }

  .policy-page .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
  .policy-page .header-inner > .btn {
    margin-left: 0;
  }
  .policy-page .header-inner > .lang-toggle {
    margin-left: 0;
    justify-self: end;
  }

  .contact-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-book-contact {
    width: 100%;
  }

  .book-modal {
    padding: 0.6rem;
    align-items: stretch;
  }

  .book-modal-panel {
    max-height: 100%;
    border-radius: 22px;
  }

  .book-modal-frame iframe {
    height: min(58vh, 560px);
  }

  .hero-title {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .hero {
    padding: calc(var(--header) + 2.1rem) 0 0;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    column-gap: 1.15rem;
    row-gap: 0.7rem;
  }

  :root {
    --section-y: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .page-cover,
  .page-cover-logo,
  .cta-book-float::before,
  .book-modal,
  .book-modal-panel,
  .chip,
  .hero-title,
  .hero-tagline,
  .hero-actions,
  .header,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  body.is-booting { overflow: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Performance: force compositing on animated elements */
.blob,
.page-cover-logo,
.btn::after,
.spec-card::before,
.quote-card::before,
.price-card::before,
.steps li::before,
.contact-panel::before,
.product-card::after,
.product-visual {
  will-change: transform;
  transform: translateZ(0);
}
