/* ==========================================================================
   Global Distribution LLC — styles.css
   Modern CSS3: custom properties, Grid, Flexbox, animations.
   No external dependencies. Strict-CSP friendly (no inline styles needed).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #050b14;
  --ink-900: #0a1628;
  --ink-800: #0f2036;
  --ink-700: #16304f;
  --ink-600: #1f4067;

  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;

  --paper: #f4f8fb;
  --paper-2: #e9f1f7;
  --white: #ffffff;

  --text-dark: #16233a;
  --text-muted: #4a5b72;
  --text-light: #e8f2fc;
  --text-light-muted: rgba(203, 224, 244, 0.72);

  --line-dark: rgba(148, 187, 233, 0.16);
  --line-light: rgba(22, 48, 79, 0.12);

  --danger: #e11d48;
  --danger-soft: rgba(225, 29, 72, 0.1);

  --font-sans: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, Cambria, "Times New Roman", serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 10px -2px rgba(10, 22, 40, 0.12);
  --shadow-md: 0 14px 34px -14px rgba(10, 22, 40, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 22, 40, 0.35);
  --shadow-glow: 0 8px 22px -10px rgba(20, 184, 166, 0.32);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 0.25s;
  --dur-2: 0.5s;
  --dur-3: 0.9s;

  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(20, 184, 166, 0.35);
  color: var(--ink-900);
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 999px;
  transition: top var(--dur-1) var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: var(--teal-300);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink-900);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title--light {
  color: #fff;
}

.section-sub {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-sub--light {
  color: var(--text-light-muted);
}

/* ---------- Animated gradient text ---------- */
.text-gradient {
  background: linear-gradient(100deg, var(--teal-300) 0%, var(--teal-500) 30%, var(--cyan-400) 55%, var(--amber-300) 85%, var(--teal-300) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-flow 7s linear infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: -220% 50%;
  }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background-color var(--dur-1), border-color var(--dur-1), color var(--dur-1);
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--dur-1) var(--ease-spring);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-600) 55%, #0f766e);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(13, 148, 136, 0.55);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(13, 148, 136, 0.65);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  border: 1px solid var(--line-light);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 184, 166, 0.5);
  color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}

.closing .btn-ghost {
  border-color: var(--line-dark);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.closing .btn-ghost:hover {
  color: var(--teal-300);
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 14px 34px -14px rgba(45, 212, 191, 0.4);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Ripple (injected by JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.65s var(--ease-out) forwards;
  pointer-events: none;
}

.btn-ghost .ripple {
  background: rgba(20, 184, 166, 0.35);
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Text links */
.text-link {
  color: var(--teal-600);
  font-weight: 600;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-1) var(--ease-out);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.text-link--brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-600);
  font-weight: 600;
}

.text-link--brand:hover {
  color: var(--teal-500);
}

/* ---------- Icon base ---------- */
.icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  aspect-ratio: 1 / 1;
}

/* Brand mark (inline SVG logo) */
.logo-svg {
  display: block;
  flex: none;
  shape-rendering: geometricPrecision;
}

/* Filled glyphs (stars, social) get a subtle lift so they don't look flat */
.stars .icon,
.social-link .icon {
  filter: drop-shadow(0 1px 1.5px rgba(10, 22, 40, 0.2));
}

.star-icon {
  width: 15px;
  height: 15px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(20, 184, 166, 0.12), transparent 70%),
    var(--ink-950);
  transition: opacity 0.55s var(--ease-out), visibility 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

.preloader-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(45, 212, 191, 0.18);
  border-top-color: var(--teal-400);
  animation: spin 0.9s linear infinite;
}

.preloader-mark {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  box-shadow: 0 0 44px -8px rgba(45, 212, 191, 0.4), inset 0 0 20px rgba(45, 212, 191, 0.12);
}

.preloader-mark .logo-svg {
  width: 60px;
  height: 60px;
  animation: mark-breathe 1.8s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mark-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 110;
  background: linear-gradient(90deg, var(--teal-400), var(--cyan-400), var(--amber-400));
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-2) var(--ease-out), backdrop-filter var(--dur-2), box-shadow var(--dur-2), border-color var(--dur-2);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 18, 33, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(45, 212, 191, 0.16), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(45, 212, 191, 0.28);
  box-shadow: inset 0 0 12px rgba(45, 212, 191, 0.1);
  transition: transform var(--dur-1) var(--ease-spring), box-shadow var(--dur-1);
}

.brand-mark .logo-svg {
  width: 26px;
  height: 26px;
}

.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12), inset 0 0 16px rgba(45, 212, 191, 0.18);
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-300);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(232, 242, 252, 0.82);
  padding: 6px 2px;
  transition: color var(--dur-1);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-400), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-1) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 6px;
}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(232, 242, 252, 0.55);
  padding: 2px 4px;
  transition: color var(--dur-1), text-shadow var(--dur-1);
}

.lang-btn.is-active {
  color: var(--teal-300);
  text-shadow: 0 0 14px rgba(45, 212, 191, 0.55);
}

.lang-sep {
  color: rgba(232, 242, 252, 0.3);
  font-size: 0.8rem;
}

.lang-switch--mobile {
  margin-top: 26px;
  width: max-content;
}

/* Menu toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  color: #fff;
  place-items: center;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Mobile menu ---------- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(5, 11, 20, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--dur-2);
}

.mobile-overlay.is-open {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 102;
  width: min(84vw, 340px);
  display: flex;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.86);
  -webkit-backdrop-filter: blur(30px) saturate(1.3);
  backdrop-filter: blur(30px) saturate(1.3);
  border-left: 1px solid var(--line-dark);
  transform: translateX(105%);
  transition: transform var(--dur-2) var(--ease-out);
  padding: 20px 24px 28px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: #fff;
  display: grid;
  place-items: center;
}

.menu-close .icon {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-1);
}

.mobile-nav a:hover {
  background: rgba(45, 212, 191, 0.1);
  color: var(--teal-300);
  transform: translateX(4px);
}

.mobile-nav .btn {
  margin-top: 14px;
  width: 100%;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(34, 211, 238, 0.14), transparent 65%),
    radial-gradient(700px 520px at 12% 82%, rgba(20, 184, 166, 0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 45%, #0d2438 100%);
  padding: calc(var(--header-h) + 48px) 0 96px;
}

/* Animated aurora layer */
.hero-aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(20, 184, 166, 0.22), transparent 70%),
    radial-gradient(closest-side at 72% 30%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(closest-side at 55% 75%, rgba(251, 191, 36, 0.08), transparent 70%);
  animation: aurora-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) rotate(2deg) scale(1.06);
  }
  100% {
    transform: translate3d(-2%, 3%, 0) rotate(-1deg) scale(1.02);
  }
}

/* Floating blurred orbs */
.hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}

.hero-orb--1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.5), rgba(13, 148, 136, 0.15));
  top: -110px;
  right: -60px;
  animation: orb-float 11s ease-in-out infinite;
}

.hero-orb--2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 60% 40%, rgba(34, 211, 238, 0.45), rgba(14, 116, 144, 0.12));
  bottom: -90px;
  left: -70px;
  animation: orb-float 13s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -34px, 0) scale(1.07);
  }
}

/* Dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(199, 229, 255, 0.28) 1px, transparent 0);
  background-size: 34px 34px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

/* Cursor spotlight (JS sets --mx/--my) */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 40%), rgba(45, 212, 191, 0.12), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-2);
}

.hero:hover .hero-glow {
  opacity: 1;
}

/* Particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* Entrance choreography (JS adds .is-in) */
.hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero.is-in .hero-copy > * {
  opacity: 1;
  transform: none;
}

.hero.is-in .hero-copy > *:nth-child(1) {
  transition-delay: 0.05s;
}

.hero.is-in .hero-copy > *:nth-child(2) {
  transition-delay: 0.15s;
}

.hero.is-in .hero-copy > *:nth-child(3) {
  transition-delay: 0.25s;
}

.hero.is-in .hero-copy > *:nth-child(4) {
  transition-delay: 0.35s;
}

.hero.is-in .hero-copy > *:nth-child(5) {
  transition-delay: 0.45s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(232, 242, 252, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 26px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 560px;
  color: var(--text-light-muted);
  font-size: 1.08rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.9rem;
  color: rgba(203, 224, 244, 0.6);
}

.hero-note .text-link {
  color: var(--teal-300);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-emblem {
  width: min(290px, 64%);
  position: relative;
  z-index: 1;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 65%);
  z-index: -1;
  animation: emblem-glow 5s ease-in-out infinite;
}

@keyframes emblem-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.emblem-svg,
.about-svg,
.network-svg {
  width: 100%;
  height: auto;
}

.emblem-route {
  stroke-dasharray: 8 12;
  animation: route-flow 2.6s linear infinite;
}

.emblem-route--b {
  animation-duration: 3.4s;
  animation-direction: reverse;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -80;
  }
}

.emblem-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 2.8s ease-in-out infinite;
}

.emblem-node--1 {
  fill: var(--teal-400);
}

.emblem-node--2 {
  fill: var(--cyan-400);
  animation-delay: 0.6s;
}

.emblem-node--3 {
  fill: var(--amber-400);
  animation-delay: 1.2s;
}

.emblem-core {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.6s ease-in-out infinite;
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

/* Floating glass cards */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: rgba(232, 242, 252, 0.92);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: card-float 6s ease-in-out infinite;
  will-change: transform;
}

.float-card .icon {
  width: 18px;
  height: 18px;
  color: var(--teal-300);
}

.float-card--1 {
  top: 12%;
  left: 0;
  animation-delay: 0s;
}

.float-card--2 {
  top: 46%;
  right: 0;
  animation-delay: 1.4s;
}

.float-card--3 {
  bottom: 8%;
  left: 12%;
  animation-delay: 2.8s;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0) rotate(0.001deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.001deg);
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: rgba(232, 242, 252, 0.6);
  animation: hint-bounce 2.4s ease-in-out infinite;
}

.scroll-hint .icon {
  width: 16px;
  height: 16px;
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(9px);
  }
}

/* Watermark */
.hero-watermark {
  position: absolute;
  right: -30px;
  bottom: -40px;
  z-index: 1;
  opacity: 0.14;
  pointer-events: none;
}

.hero-watermark .logo-svg {
  width: 132px;
  height: 132px;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -72px;
  padding-bottom: 10px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 34px 20px;
  gap: 12px;
}

.stat {
  text-align: center;
  padding: 8px 10px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--line-light);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-number .counter {
  background: linear-gradient(120deg, var(--ink-800), var(--teal-600));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 110px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 20px;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  background: linear-gradient(140deg, rgba(20, 184, 166, 0.28), rgba(34, 211, 238, 0.18));
  filter: blur(46px);
  z-index: 0;
  border-radius: 50%;
}

.about-svg {
  position: relative;
  z-index: 1;
}

.about-route {
  stroke-dasharray: 9 11;
  animation: route-flow 3s linear infinite;
}

.about-route--b {
  animation-direction: reverse;
  animation-duration: 3.8s;
}

.about-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3s ease-in-out infinite;
}

.about-node--2 {
  animation-delay: 0.7s;
}

.about-node--3 {
  animation-delay: 1.4s;
}

.about-ship {
  animation: ship-bob 4.5s ease-in-out infinite;
}

@keyframes ship-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.about-wave {
  stroke-dasharray: 14 10;
  animation: route-flow 4s linear infinite;
}

.about-badge {
  position: absolute;
  right: 4px;
  bottom: 6px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.about-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(34, 211, 238, 0.15));
  color: var(--teal-600);
}

.about-badge-icon .icon {
  width: 18px;
  height: 18px;
}

.about-badge-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-900);
}

.about-badge-text small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.about-copy .section-title {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.about-copy p:not(.eyebrow) {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1);
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mini-card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  color: #fff;
  margin-bottom: 14px;
  box-shadow: var(--shadow-glow);
}

.mini-card-icon .icon {
  width: 18px;
  height: 18px;
}

.mini-card strong {
  display: block;
  color: var(--ink-900);
  font-size: 1rem;
}

.mini-card small {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.mini-card p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CATALOG
   ========================================================================== */
.catalog {
  padding: 100px 0;
  background: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.catalog-card {
  position: relative;
  background: linear-gradient(180deg, #f2f8fb, #e8f1f8);
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), border-color var(--dur-2);
}

.catalog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 212, 191, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-2);
  pointer-events: none;
}

.catalog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.35);
}

.catalog-card:hover::after {
  opacity: 1;
}

.catalog-art {
  position: relative;
  height: 210px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(300px 160px at 50% 120%, rgba(20, 184, 166, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(10, 22, 40, 0.03), transparent);
  border-bottom: 1px solid var(--line-light);
}

.art-svg {
  width: 78%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}

.catalog-card:hover .art-svg {
  transform: scale(1.07) translateY(-4px);
}

.art-dash {
  stroke-dasharray: 8 10;
  animation: route-flow 3.2s linear infinite;
}

.catalog-body {
  padding: 26px 26px 28px;
}

.catalog-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}

.catalog-icon .icon {
  width: 20px;
  height: 20px;
}

.catalog-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.catalog-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* ==========================================================================
   BRANDS (dark marquee)
   ========================================================================== */
.brands {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(34, 211, 238, 0.1), transparent 65%),
    radial-gradient(700px 420px at 10% 100%, rgba(20, 184, 166, 0.12), transparent 65%),
    var(--ink-900);
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-move 34s linear infinite;
}

.marquee--testimonials .marquee-track {
  animation-duration: 58s;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 8px 32px;
}

/* Brand wordmarks */
.brand-mark-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(232, 242, 252, 0.5);
  white-space: nowrap;
  transition: color var(--dur-1), text-shadow var(--dur-1), transform var(--dur-1);
  cursor: default;
}

.brand-mark-item i {
  width: 12px;
  height: 12px;
  flex: none;
  background: currentColor;
  opacity: 0.8;
  transition: transform var(--dur-1) var(--ease-spring), background var(--dur-1);
}

.brand-mark-item:hover {
  color: var(--teal-300);
  text-shadow: 0 0 22px rgba(45, 212, 191, 0.45);
  transform: translateY(-3px);
}

.brand-mark-item--nordika {
  font-family: var(--font-display);
  letter-spacing: 0.3em;
}

.brand-mark-item--nordika i {
  border-radius: 50%;
}

.brand-mark-item--velmar {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-style: italic;
}

.brand-mark-item--velmar i {
  border-radius: 3px;
}

.brand-mark-item--solvia {
  font-weight: 300;
  letter-spacing: 0.42em;
}

.brand-mark-item--solvia i {
  border-radius: 50%;
  background: transparent;
  border: 2px solid currentColor;
}

.brand-mark-item--kronos {
  font-weight: 800;
  letter-spacing: 0.2em;
}

.brand-mark-item--kronos i {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.brand-mark-item--altum {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.08em;
}

.brand-mark-item--altum i {
  border-radius: 2px;
  transform: rotate(45deg);
}

.brand-mark-item--pureo {
  text-transform: lowercase;
  letter-spacing: 0.28em;
  font-weight: 600;
}

.brand-mark-item--pureo i {
  border-radius: 50% 50% 50% 0;
}

.brand-mark-item--zentro {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
}

.brand-mark-item--zentro i {
  border-radius: 2px;
  background: transparent;
  border: 2px solid currentColor;
}

.brand-mark-item--merako {
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand-mark-item--merako i {
  border-radius: 40% 40% 40% 40%;
}

.brand-mark-item--lyra {
  font-weight: 200;
  letter-spacing: 0.5em;
}

.brand-mark-item--lyra i {
  border-radius: 50%;
  background: transparent;
  border: 2px solid currentColor;
  width: 14px;
  height: 14px;
}

.brand-mark-item--ostrabay {
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-mark-item--ostrabay i {
  border-radius: 0 50% 0 50%;
}

/* ==========================================================================
   WHY / FEATURES
   ========================================================================== */
.why {
  padding: 100px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2), border-color var(--dur-2);
  animation: feature-idle 7s ease-in-out infinite;
}

.feature-card:nth-child(2) {
  animation-delay: 0.8s;
}

.feature-card:nth-child(3) {
  animation-delay: 1.6s;
}

.feature-card:nth-child(4) {
  animation-delay: 2.4s;
}

.feature-card:nth-child(5) {
  animation-delay: 3.2s;
}

.feature-card:nth-child(6) {
  animation-delay: 4s;
}

@keyframes feature-idle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--cyan-400), var(--amber-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: var(--shadow-lg);
  animation-play-state: paused;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  box-shadow: var(--shadow-glow);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-6deg);
}

.feature-icon .icon {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  font-size: 1.12rem;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 100px 0 90px;
  background: var(--white);
  overflow: hidden;
}

.marquee--testimonials .marquee-group {
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 350px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f6fafd, #edf4fa);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), border-color var(--dur-1);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: var(--shadow-md);
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber-400);
  margin-bottom: 14px;
}

.testimonial-card blockquote p {
  color: var(--text-dark);
  font-size: 0.93rem;
  font-style: italic;
  line-height: 1.65;
  flex: 1;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-light);
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-800);
  background: linear-gradient(135deg, var(--teal-300), var(--cyan-300));
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-900);
}

.testimonial-card figcaption small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ==========================================================================
   COVERAGE
   ========================================================================== */
.coverage {
  padding: 100px 0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.coverage-copy .section-title {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-copy > p:not(.eyebrow) {
  color: var(--text-muted);
  margin-bottom: 26px;
}

.region-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.region-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-1), border-color var(--dur-1);
}

.region-row:hover {
  transform: translateX(6px);
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: var(--shadow-md);
}

.region-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  color: var(--teal-600);
  background: rgba(20, 184, 166, 0.1);
}

.region-icon .icon {
  width: 17px;
  height: 17px;
}

.region-row strong {
  display: block;
  color: var(--ink-900);
  font-size: 0.95rem;
}

.region-row small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.coverage-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.coverage-note .icon {
  color: var(--teal-600);
  width: 16px;
  height: 16px;
}

.coverage-visual {
  position: relative;
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--ink-900);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 30px 26px 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.coverage-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(199, 229, 255, 0.14) 1px, transparent 0);
  background-size: 26px 26px;
  pointer-events: none;
}

.network-svg {
  position: relative;
}

.net-route {
  stroke-dasharray: 7 10;
  animation: route-flow 3s linear infinite;
}

.net-route--2 {
  animation-delay: 0.5s;
}

.net-route--3 {
  animation-delay: 1s;
}

.net-route--4 {
  animation-delay: 1.5s;
}

.net-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3s ease-in-out infinite;
}

.net-node--2 {
  animation-delay: 0.4s;
}

.net-node--3 {
  animation-delay: 0.8s;
}

.net-node--4 {
  animation-delay: 1.2s;
}

.net-node--5 {
  animation-delay: 1.6s;
}

.net-label {
  fill: rgba(203, 224, 244, 0.75);
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.net-legend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.net-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-dot--teal {
  background: var(--teal-400);
}

.legend-dot--cyan {
  background: var(--cyan-400);
}

.legend-dot--amber {
  background: var(--amber-400);
}

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */
.closing {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
  background: var(--ink-900);
}

.closing-aurora {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(20, 184, 166, 0.2), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(34, 211, 238, 0.16), transparent 70%);
  animation: aurora-drift 16s ease-in-out infinite alternate;
}

.closing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.closing-orb--1 {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.4), transparent);
  animation: orb-float 12s ease-in-out infinite;
}

.closing-orb--2 {
  width: 300px;
  height: 300px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent);
  animation: orb-float 14s ease-in-out infinite reverse;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: 110px 0 120px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrap .section-title {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form-wrap .section-sub {
  margin-bottom: 32px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-800);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-light);
  border-radius: var(--r-sm);
  background: #fbfdfe;
  color: var(--text-dark);
  transition: border-color var(--dur-1), box-shadow var(--dur-1), background-color var(--dur-1);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #93a3b8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
  background: #fff;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-soft);
}

.field-error {
  min-height: 1em;
  font-size: 0.8rem;
  color: var(--danger);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--teal-600);
  flex: none;
  cursor: pointer;
}

.consent .field-error {
  width: 100%;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.sync-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  min-height: 1.2em;
}

.sync-status .sync-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
  flex: none;
}

.sync-status.is-online .sync-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.sync-status.is-offline {
  color: #b45309;
}

.sync-status.is-offline .sync-dot {
  background: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25);
}

.sync-status.is-error {
  color: var(--danger);
}

.sync-status.is-error .sync-dot {
  background: var(--danger);
}

.sync-status .spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-top-color: #10b981;
  animation: spin 0.8s linear infinite;
}

/* Contact info card */
.contact-info {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background:
    radial-gradient(420px 240px at 80% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--ink-900);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.info-list {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.info-list a {
  color: var(--text-light);
  transition: color var(--dur-1);
  word-break: break-word;
}

.info-list a:hover {
  color: var(--teal-300);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  color: var(--teal-300);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.info-icon .icon {
  width: 17px;
  height: 17px;
}

.info-promise {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.promise-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  color: #06281e;
  background: #34d399;
}

.promise-icon .icon {
  width: 15px;
  height: 15px;
}

.info-promise strong {
  display: block;
  color: #d1fae5;
  font-size: 0.95rem;
}

.info-promise p {
  color: var(--text-light-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(34, 211, 238, 0.08), transparent 60%),
    var(--ink-950);
  border-top: 1px solid var(--line-dark);
  padding: 74px 0 34px;
}

.footer-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(199, 229, 255, 0.07) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr 0.9fr;
  gap: 44px;
  padding-bottom: 44px;
}

.brand--footer {
  margin-bottom: 18px;
}

.brand--footer .brand-mark {
  width: 42px;
  height: 42px;
}

.brand--footer .brand-mark .logo-svg {
  width: 28px;
  height: 28px;
}

.footer-brand > p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 320px;
}

.newsletter {
  display: flex;
  gap: 10px;
  max-width: 360px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

.newsletter input::placeholder {
  color: rgba(203, 224, 244, 0.45);
}

.newsletter input:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}

.newsletter .btn {
  padding: 12px 20px;
}

.footer-links h4,
.footer-contact h4,
.footer-legal h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-links h4 .dot,
.footer-contact h4 .dot,
.footer-legal h4 .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.8);
}

.footer-links ul {
  display: grid;
  gap: 11px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: color var(--dur-1), transform var(--dur-1);
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--teal-400);
  transition: width var(--dur-1) var(--ease-out);
}

.footer-links a:hover {
  color: var(--teal-300);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-contact ul {
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.footer-contact li .icon {
  width: 15px;
  height: 15px;
  color: var(--teal-400);
  margin-top: 3px;
  flex: none;
}

.footer-contact a:hover {
  color: var(--teal-300);
}

.footer-legal ul {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.footer-legal a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  transition: color var(--dur-1);
}

.footer-legal a:hover {
  color: var(--teal-300);
}

.socials-title {
  color: rgba(232, 242, 252, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--text-light-muted);
  transition: transform var(--dur-1) var(--ease-spring), background-color var(--dur-1), color var(--dur-1), box-shadow var(--dur-1), border-color var(--dur-1);
}

.social-link .icon {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  color: #04121c;
  border-color: transparent;
  box-shadow: 0 12px 26px -10px rgba(45, 212, 191, 0.6);
}

/* Animated divider */
.footer-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--teal-400), var(--cyan-400), transparent);
  background-size: 200% 100%;
  animation: line-flow 4s linear infinite;
  opacity: 0.65;
  margin-bottom: 26px;
}

@keyframes line-flow {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(203, 224, 244, 0.5);
  font-size: 0.85rem;
}

.to-top-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(203, 224, 244, 0.5);
  font-size: 0.85rem;
  transition: color var(--dur-1);
}

.to-top-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  transition: background-color var(--dur-1), border-color var(--dur-1), transform var(--dur-1) var(--ease-spring);
}

.to-top-bubble .icon {
  width: 13px;
  height: 13px;
}

.to-top-inline:hover {
  color: var(--teal-300);
}

.to-top-inline:hover .to-top-bubble {
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  border-color: transparent;
  transform: translateY(-3px);
  color: #04121c;
}

.footer-watermark {
  position: absolute;
  right: -24px;
  bottom: -30px;
  opacity: 0.08;
  pointer-events: none;
}

.footer-watermark .logo-svg {
  width: 120px;
  height: 120px;
}

/* ==========================================================================
   TOASTS + BACK TO TOP
   ========================================================================== */
.toast-region {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: min(92vw, 460px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(10, 22, 40, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  color: var(--text-light);
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.toast.is-shown {
  opacity: 1;
  transform: none;
}

.toast .toast-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.toast--success {
  border-color: rgba(52, 211, 153, 0.45);
}

.toast--success .toast-icon {
  color: #34d399;
}

.toast--error {
  border-color: rgba(225, 29, 72, 0.5);
}

.toast--error .toast-icon {
  color: #fb7185;
}

.toast--info {
  border-color: rgba(45, 212, 191, 0.4);
}

.toast--info .toast-icon {
  color: var(--teal-300);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 115;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out), visibility var(--dur-1);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  transform: translateY(-3px);
}

.to-top .icon {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

.to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2.5;
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  transition: stroke-dashoffset 0.2s linear;
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

[data-reveal].is-visible {
  transform: none;
}

/* Tilt (JS-driven) */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease-out);
  transform-style: preserve-3d;
}

[data-tilt]:hover {
  transition-duration: 0.08s;
}

/* Magnetic (JS-driven) */
.magnetic {
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.3s var(--ease-out);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 380px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .about-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .stats-card {
    grid-template-columns: 1fr 1fr;
    row-gap: 26px;
  }

  .stat:nth-child(3)::before,
  .stat:nth-child(4)::before {
    display: none;
  }

  .catalog-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    padding: calc(var(--header-h) + 30px) 0 80px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .float-card {
    padding: 10px 13px;
    font-size: 0.76rem;
    gap: 8px;
  }

  .float-card .icon {
    width: 18px;
    height: 18px;
  }

  .hero-watermark,
  .footer-watermark {
    display: none;
  }

  .about-cards,
  .catalog-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-card {
    grid-template-columns: 1fr 1fr;
    padding: 26px 14px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .testimonial-card {
    width: 300px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .about,
  .catalog,
  .brands,
  .why,
  .testimonials,
  .coverage,
  .contact {
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .closing {
    padding: 84px 0;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .marquee-group {
    gap: 40px;
  }

  .brand-mark-item {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ==========================================================================
   SALES ASSISTANT — IA local (español)
   ========================================================================== */

/* Botón flotante */
.assistant-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04121c;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  box-shadow:
    0 16px 34px -12px rgba(13, 148, 136, 0.65),
    0 6px 14px -8px rgba(10, 22, 40, 0.45);
  transition: transform var(--dur-1) var(--ease-spring), box-shadow var(--dur-1);
  -webkit-tap-highlight-color: transparent;
}

.assistant-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 22px 44px -14px rgba(13, 148, 136, 0.75),
    0 8px 18px -8px rgba(10, 22, 40, 0.5);
}

.assistant-fab-icon {
  width: 26px;
  height: 26px;
}

.assistant-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.55);
  animation: fab-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes fab-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Panel */
.assistant-panel {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 145;
  width: min(392px, calc(100vw - 32px));
  height: min(620px, calc(100dvh - 132px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility var(--dur-2);
}

.assistant-panel[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: none;
}

/* Cabecera */
.assistant-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 12px 13px 16px;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff;
}

.assistant-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.assistant-avatar .logo-svg {
  width: 24px;
  height: 24px;
}

.assistant-head-text {
  flex: 1;
  min-width: 0;
}

.assistant-head-text strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.assistant-head-text small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(203, 224, 244, 0.75);
}

.assistant-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulse-ring 2.2s ease-out infinite;
}

.assistant-btn {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(232, 242, 252, 0.75);
  border: 1px solid transparent;
  transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}

.assistant-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--line-dark);
}

.assistant-btn .icon {
  width: 16px;
  height: 16px;
}

/* Mensajes */
.assistant-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(20, 184, 166, 0.07), transparent 70%),
    var(--paper);
  scroll-behavior: smooth;
}

.assistant-msg {
  display: flex;
}

.assistant-msg--user {
  justify-content: flex-end;
}

.assistant-bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.assistant-msg--bot .assistant-bubble {
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-bottom-left-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.assistant-msg--user .assistant-bubble {
  color: #04121c;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  border-bottom-right-radius: 6px;
  box-shadow: 0 8px 20px -10px rgba(13, 148, 136, 0.55);
}

/* Typing */
.assistant-bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.4;
  animation: typing-bounce 1.1s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-5px);
    opacity: 0.9;
  }
}

/* Chips rápidos */
.assistant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 4px;
}

.assistant-chips.is-empty {
  display: none;
}

.assistant-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
  color: var(--teal-600);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-1), box-shadow var(--dur-1);
}

.assistant-chip:hover {
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-400));
  color: #04121c;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.55);
}

/* Fila de entrada */
.assistant-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 6px;
}

.assistant-input-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--paper-2);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--dur-1), box-shadow var(--dur-1), background-color var(--dur-1);
}

.assistant-input-row input:focus {
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.assistant-send {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04121c;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  transition: transform var(--dur-1) var(--ease-spring), box-shadow var(--dur-1);
}

.assistant-send:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 22px -10px rgba(13, 148, 136, 0.6);
}

.assistant-send .icon {
  width: 17px;
  height: 17px;
}

.assistant-foot {
  padding: 4px 14px 10px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Back-to-top se coloca sobre el botón del asistente */
.to-top {
  bottom: 94px;
}

@media (max-width: 640px) {
  .assistant-fab {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .assistant-fab-icon {
    width: 24px;
    height: 24px;
  }

  .assistant-panel {
    right: 10px;
    bottom: 84px;
    width: calc(100vw - 20px);
    height: calc(100dvh - 108px);
    border-radius: 16px;
  }

  .to-top {
    right: 14px;
    bottom: 84px;
  }
}
