
/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #000; color: #fff; font-family: 'Inter', sans-serif; overflow-x: hidden; }
a { text-decoration: none; }
.font-playfair { font-family: 'Playfair Display', serif; }

/* ══════════════════════════════════════════════════
   PAGE LOADER — Pro Layout + Asset Preloading
══════════════════════════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Corner elements */
.loader-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loader-tl { top: 32px; left: 32px; }
.loader-tr { top: 32px; right: 32px; align-items: flex-end; }
.loader-bl { bottom: 32px; left: 32px; }
.loader-br { bottom: 32px; right: 32px; align-items: flex-end; flex-direction: row; gap: 8px; }

.loader-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.loader-year {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-weight: 500;
}
.loader-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(176.89, 99.07%, 58.04%);
  animation: statusPulse 1.5s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.loader-name {
  font-size: 1.4em;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}
.loader-title {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.loader-loc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.loader-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
}

/* Center content */
.loader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Progress bar */
.loader-progress {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, hsl(176.89, 99.07%, 58.04%), hsl(176.61, 42.28%, 40.7%));
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .loader-tl, .loader-tr, .loader-bl, .loader-br {
    display: none;
  }
  .loader-tl, .loader-bl { display: flex; }
  .loader-tl { top: 20px; left: 20px; }
  .loader-bl { bottom: 20px; left: 20px; }
}

.cube-loader {
  position: relative;
  width: 75px;
  height: 75px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg);
  animation: cubeRotate 4s linear infinite;
}
@keyframes cubeRotate {
  0% { transform: rotateX(-30deg) rotateY(0); }
  100% { transform: rotateX(-30deg) rotateY(360deg); }
}
.cube-loader .cube-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.cube-loader .cube-wrapper .cube-span {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotateY(calc(90deg * var(--i))) translateZ(37.5px);
  background: linear-gradient(
    to bottom,
    hsl(330, 3.13%, 25.1%) 0%,
    hsl(177.27, 21.71%, 32.06%) 5.5%,
    hsl(176.67, 34.1%, 36.88%) 12.1%,
    hsl(176.61, 42.28%, 40.7%) 19.6%,
    hsl(176.63, 48.32%, 43.88%) 27.9%,
    hsl(176.66, 53.07%, 46.58%) 36.6%,
    hsl(176.7, 56.94%, 48.91%) 45.6%,
    hsl(176.74, 62.39%, 50.91%) 54.6%,
    hsl(176.77, 69.86%, 52.62%) 63.4%,
    hsl(176.8, 76.78%, 54.08%) 71.7%,
    hsl(176.83, 83.02%, 55.29%) 79.4%,
    hsl(176.85, 88.44%, 56.28%) 86.2%,
    hsl(176.86, 92.9%, 57.04%) 91.9%,
    hsl(176.88, 96.24%, 57.59%) 96.3%,
    hsl(176.88, 98.34%, 57.93%) 99%,
    hsl(176.89, 99.07%, 58.04%) 100%
  );
}
.cube-top {
  position: absolute;
  width: 75px;
  height: 75px;
  background: hsl(330, 3.13%, 25.1%);
  transform: rotateX(90deg) translateZ(37.5px);
  transform-style: preserve-3d;
}
.cube-top::before {
  content: '';
  position: absolute;
  width: 75px;
  height: 75px;
  background: hsl(176.61, 42.28%, 40.7%);
  transform: translateZ(-90px);
  filter: blur(10px);
  box-shadow: 0 0 10px #323232,
              0 0 20px hsl(176.61, 42.28%, 40.7%),
              0 0 30px #323232,
              0 0 40px hsl(176.61, 42.28%, 40.7%);
}

.text-loader {
  font-size: 1.5em;
  font-weight: 700;
  font-family: 'Space Grotesk', 'Inter', monospace;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-loader > * { color: rgba(255,255,255,0.9); }
.text-loader .dev-tag {
  color: hsl(176.89, 99.07%, 58.04%);
  font-size: 1.2em;
  opacity: 0.9;
}
.text-loader .loading-text {
  letter-spacing: -0.5em;
  overflow: hidden;
  animation: textReveal 1500ms cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
}
@keyframes textReveal {
  0%, 100% { opacity: 0.5; letter-spacing: -0.5em; }
  50% { opacity: 1; letter-spacing: 0.02em; }
}

/* ── Liquid Glass ── */
.liquid-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; }
.nav-pill {
  display: none;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px;
  gap: 4px;
  align-items: center;
}
@media(min-width:768px) { .nav-pill { display: flex; } }
.nav-pill a {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all .2s;
}
.nav-pill a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-pill a.active { background: #fff; color: #111; }

/* ══════════════════════════════════════════════════
   HERO — Lithos Spotlight (canvas mask, deux layers)
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

/* Layer 1 — fond sombre Ken Burns */
#hero-base {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #000; /* fallback si image ne charge pas */
  animation: heroZoom 2s cubic-bezier(0.16,1,0.3,1) forwards;
}

#hero-reveal {
  position: absolute;
  inset: 0;
  z-index: 30;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Layer 3 — overlay gradient pour lisibilité texte */
#hero-overlay {
  position: absolute; inset: 0; z-index: 3;
background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.45) 22%,
    rgba(0,0,0,0.0)  42%,
    rgba(0,0,0,0.0)  60%,
    rgba(0,0,0,0.72) 100%);
}

/* Canvas caché — génère les masques spotlight */
#hero-canvas { display: none; }

/* Halo animé autour de la photo */
.halo {
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 2;
  animation: haloPulse 4s ease-in-out infinite;
}
.halo:nth-child(2) { animation-delay: 1.3s; }
.halo:nth-child(3) { animation-delay: 2.6s; }

@keyframes haloPulse {
  0%,100% { opacity: 0.4; transform: translate(-50%,-50%) scale(0.96); }
  50%      { opacity: 0.12; transform: translate(-50%,-50%) scale(1.04); }
}
@keyframes heroZoom {
  0%   { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(28px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.anim-reveal { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.16,1,0.3,1) forwards; }
.anim-fade   { opacity: 0; animation: fadeIn 1s cubic-bezier(0.16,1,0.3,1) forwards; }

/* Hero text layers */
#hero-text-top {
  position: absolute; top: 12%; left: 0; right: 0;
  z-index: 50; text-align: center; padding: 0 20px;
  pointer-events: none;
}
#hero-text-bl {
  position: absolute; bottom: 56px; left: 40px; max-width: 280px;
  z-index: 50;
  display: none;
}
@media(min-width:640px) { #hero-text-bl { display: block; } }
#hero-text-br {
  position: absolute; bottom: 40px; right: 20px;
  z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
@media(min-width:640px) { #hero-text-br { right: 40px; bottom: 56px; } }

/* Badge pill */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.65);
}

/* ══════════════════════════════════════════════════
   ABOUT — 4 vidéos, lecture fluide au scroll
══════════════════════════════════════════════════ */
#about-wrapper {
  position: relative;
  height: 400vh; /* 4 × 100vh de scroll */
}
#about-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Toutes les vidéos superposées, seule l'active est visible */
.about-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-vid.active { opacity: 1; }

#about-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.15) 45%,
    rgba(0,0,0,0.7) 100%);
}

#about-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 48px 40px;
  max-width: 680px;
}
@media(min-width:768px) { #about-content { padding: 64px 80px; } }

.about-panel { display: none; }
.about-panel.active { display: block; }

/* Progress dots */
#about-dots {
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex; flex-direction: column; gap: 10px;
}
.about-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}
.about-dot.active {
  background: #fff;
  transform: scale(1.6);
}

/* ══════════════════════════════════════════════════
   SERVICES — Boomerang bg
══════════════════════════════════════════════════ */
#services {
  position: relative;
  min-height: 100vh;
  padding: 96px 0;
  overflow: hidden;
}
#boomerang-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}
#services-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

/* ══════════════════════════════════════════════════
   CONTACT — vidéo background (comme liquid glass ZIP)
══════════════════════════════════════════════════ */
#contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#contact-vid {
  position: fixed; /* fixed pour couvrir tout le viewport quand on scroll dans contact */
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
#contact-vid.visible { opacity: 1; }
#contact-dark {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════
   CARDS & REVEAL
══════════════════════════════════════════════════ */
.glass-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(255,255,255,0.05);
}

.section-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.section-reveal.in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════════════ */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10;
}
.scroll-hint-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}
.scroll-hint-text {
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

/* ── Space Grotesk (new title font) ── */
.font-grotesk { font-family: 'Space Grotesk', sans-serif; }

/* ── Card title — Playfair italic bold ── */
.card-title {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
}

/* ── Section h2 title style ── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
}

/* ── Lang toggle ── */
#lang-toggle {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 4px; gap: 2px;
}
#lang-toggle button {
  padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  border: none; cursor: pointer; transition: all .2s; font-family: inherit;
}
.lang-active   { background: #fff !important; color: #111 !important; }
.lang-inactive { background: transparent !important; color: rgba(255,255,255,.55) !important; }

/* ── Marquee ── */
.marquee-outer { overflow: hidden; position: relative; padding: 8px 0; }
.marquee-outer::before,
.marquee-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 5; pointer-events: none;
}
.marquee-outer::before { left:  0; background: linear-gradient(to right, rgba(0,0,0,.82), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(to left,  rgba(0,0,0,.82), transparent); }
.marquee-track {
  display: flex; gap: 20px; width: max-content;
  animation: mscroll 55s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes mscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.service-card {
  flex-shrink: 0; width: 290px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 22px; padding: 26px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 22px; padding: 1.2px;
  background: linear-gradient(180deg,
    rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 50%,
    rgba(255,255,255,.38) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(255,255,255,.05); }

/* ═══ ARIA BUBBLE — FINAL ═══ */
#aria-bubble {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  z-index: 9999 !important;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  background: none !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
}

/* Hint pill — liquid glass */
#aria-hint {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 20px !important;
  padding: 10px 18px !important;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.12),
    0 4px 24px rgba(0,0,0,0.30) !important;
}
#aria-hint::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0)    40%,
    rgba(255,255,255,0)    60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Orb — liquid glass + glow */
#aria-orb {
  width: 70px !important;
  height: 70px !important;
  border-radius: 50% !important;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  animation:
    aria-colorize 6s ease-in-out infinite,
    aria-glow-pulse 3s ease-in-out infinite;
}

/* Liquid glass border ring */
#aria-orb::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0)    40%,
    rgba(255,255,255,0)    60%,
    rgba(255,255,255,0.15) 80%,
    rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* Cercle clip — contient les blobs */
.aria-orb-clip {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
}

/* Couche goo — filtre sur les blobs */
.aria-goo-layer {
  position: absolute;
  inset: -20px;
  filter: url(#aria-goo);
}

/* Blob de base — remplit le cercle */
.aria-goo-base {
  position: absolute;
  width: 70px;
  height: 70px;
  top: 20px;
  left: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbf48 30%, #be4a1d 70%);
}

/* Blobs orbitants */
.aria-goo-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffbf48 30%, #be4a1d 70%);
  top: 50%;
  left: 50%;
}
.aria-goo-blob-1 { width:34px; height:34px; animation: aria-orbit-A 2s   linear infinite; }
.aria-goo-blob-2 { width:30px; height:30px; animation: aria-orbit-B 2s   linear infinite reverse; animation-delay:-0.33s; }
.aria-goo-blob-3 { width:28px; height:28px; animation: aria-orbit-A 3s   linear infinite; animation-delay:-1s; }
.aria-goo-blob-4 { width:24px; height:24px; animation: aria-orbit-B 2.5s linear infinite; animation-delay:-0.5s; }
.aria-goo-blob-5 { width:22px; height:22px; animation: aria-orbit-A 2.5s linear infinite reverse; animation-delay:-1.5s; }
.aria-goo-blob-6 { width:20px; height:20px; animation: aria-orbit-B 3s   linear infinite; animation-delay:-0.7s; }

/* Icône chat au-dessus */
.aria-chat-icon {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}

/* ── Keyframes ── */
@keyframes aria-orbit-A {
  0%   { transform: translate(calc(-50% + 18px), calc(-50% - 5px))  scale(1);    }
  25%  { transform: translate(calc(-50% + 5px),  calc(-50% + 18px)) scale(0.82); }
  50%  { transform: translate(calc(-50% - 18px), calc(-50% + 5px))  scale(1);    }
  75%  { transform: translate(calc(-50% - 5px),  calc(-50% - 18px)) scale(0.82); }
  100% { transform: translate(calc(-50% + 18px), calc(-50% - 5px))  scale(1);    }
}
@keyframes aria-orbit-B {
  0%   { transform: translate(calc(-50% - 14px), calc(-50% + 10px)) scale(0.9);  }
  33%  { transform: translate(calc(-50% + 14px), calc(-50% + 10px)) scale(1.1);  }
  66%  { transform: translate(calc(-50%),        calc(-50% - 20px)) scale(0.9);  }
  100% { transform: translate(calc(-50% - 14px), calc(-50% + 10px)) scale(0.9);  }
}
@keyframes aria-colorize {
  0%,100% { filter: hue-rotate(0deg);   }
  20%     { filter: hue-rotate(-30deg); }
  40%     { filter: hue-rotate(-60deg); }
  60%     { filter: hue-rotate(-90deg); }
  80%     { filter: hue-rotate(-45deg); }
}
@keyframes aria-glow-pulse {
  0%,100% {
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,0.18),
      0 0 22px rgba(255,191,72,0.25),
      0 20px 45px rgba(190,74,29,0.25);
  }
  50% {
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,0.18),
      0 0 55px rgba(255,191,72,0.65),
      0 20px 60px rgba(190,74,29,0.60);
  }
}

/* ── ARIA modal ── */
#aria-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  align-items: center; justify-content: center; padding: 16px;
}
#aria-modal.open { display: flex; }
.aria-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.82); backdrop-filter: blur(8px);
}
.aria-panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  border-radius: 24px; background: rgba(10,10,22,.96);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column;
  height: min(620px,90vh); overflow: hidden;
}
.aria-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
}
#aria-messages {
  flex: 1; overflow-y: auto; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
#aria-messages::-webkit-scrollbar { width: 3px; }
#aria-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 2px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.65; word-break: break-word; }
.chat-msg.user { align-self: flex-end; background: #e8702a; color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.ai   { align-self: flex-start; background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); border-bottom-left-radius: 4px; }
#aria-typing { display: none; padding: 0 20px 8px; }
@keyframes tdot { 0%,80%,100%{transform:scale(.7);opacity:.5;} 40%{transform:scale(1);opacity:1;} }
.tdot { width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.4);display:inline-block;animation:tdot 1.2s infinite; }
.aria-input-row {
  padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; gap: 10px;
}
.aria-input-row textarea {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  resize: none;
  max-height: 120px;
  overflow-y: auto;
  line-height: 1.4;
}
.aria-input-row button {
  background: #e8702a; border: none; color: #fff; border-radius: 12px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: background .2s;
}
.aria-input-row button:hover { background: #d2611f; }
#aria-notify { display: none; padding: 0 18px 14px; }
#aria-notify button {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 10px; color: rgba(255,255,255,.65);
  font-size: 12px; cursor: pointer; font-family: inherit;
}

/* ══ Mobile Hamburger Menu ══ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}
@media(min-width:768px) { .hamburger { display: none; } }
@media(max-width:767px) { .contact-desktop { display: none !important; } }
@media(min-width:768px) { .contact-desktop { display: inline-flex !important; } }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10,10,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
@media(min-width:768px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all 0.2s;
  background: rgba(255,255,255,0.04);
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
