/* ══════════════════════════════════════════════════════════════════
   NCT GRUPO — Global Stylesheet
   nctgrupo.com  |  Phase 1: Design Tokens + Reset + Typography + Nav
   ══════════════════════════════════════════════════════════════════ */

/* ── SECTION: DESIGN TOKENS ── PURPOSE: Single source of truth for all visual values ── */

:root {
  /* Color palette */
  --color-bg:         #0A0E1A;
  --color-surface:    #111827;
  --color-surface-2:  #1C2333;
  --color-accent:     #0057FF;
  --color-accent-2:   #00C2FF;
  --color-text:       #F0F4FF;
  --color-muted:      #8892A4;
  --color-border:     #1E2D45;
  --color-teal:       #00B4A6;

  /* Accent hover states */
  --color-accent-hover:   #0046CC;
  --color-accent-2-hover: #00A8E0;

  /* Semantic overlays */
  --color-nav-bg:         rgba(10, 14, 26, 0.92);
  --color-nav-bg-solid:   #0A0E1A;
  --color-overlay:        rgba(10, 14, 26, 0.70);

  /* Typography */
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid type scale — clamp(min, preferred, max) */
  --text-xs:   clamp(0.70rem,  0.65rem + 0.25vw, 0.80rem);
  --text-sm:   clamp(0.85rem,  0.80rem + 0.25vw, 0.95rem);
  --text-base: clamp(1.00rem,  0.95rem + 0.25vw, 1.10rem);
  --text-md:   clamp(1.10rem,  1.00rem + 0.50vw, 1.25rem);
  --text-lg:   clamp(1.25rem,  1.10rem + 0.75vw, 1.50rem);
  --text-xl:   clamp(1.50rem,  1.25rem + 1.25vw, 2.00rem);
  --text-2xl:  clamp(2.00rem,  1.60rem + 2.00vw, 3.00rem);
  --text-3xl:  clamp(2.75rem,  2.00rem + 3.75vw, 4.50rem);
  --text-hero: clamp(3.00rem,  2.00rem + 5.00vw, 6.00rem);

  /* Spacing scale */
  --space-1:   0.25rem;
  --space-2:   0.50rem;
  --space-3:   0.75rem;
  --space-4:   1.00rem;
  --space-5:   1.25rem;
  --space-6:   1.50rem;
  --space-8:   2.00rem;
  --space-10:  2.50rem;
  --space-12:  3.00rem;
  --space-16:  4.00rem;
  --space-20:  5.00rem;
  --space-24:  6.00rem;
  --space-32:  8.00rem;

  /* Layout */
  --container-max:    1280px;
  --container-pad:    clamp(1.00rem, 4vw, 2.50rem);
  --nav-height:       88px;
  --section-pad-y:    clamp(4.00rem, 8vw, 7.00rem);

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px  3px rgba(0,0,0,0.40);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.50);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.60);
  --shadow-glow: 0 0  24px rgba(0, 87,255,0.30);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;

  /* Z-index layers */
  --z-base:    0;
  --z-raised:  10;
  --z-overlay: 100;
  --z-nav:     200;
  --z-drawer:  300;
  --z-modal:   400;
}


/* ── SECTION: CURSOR GLOW ── PURPOSE: Mouse-reactive spotlight overlay across all pages ── */

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    700px circle at var(--cursor-x, -100%) var(--cursor-y, -100%),
    rgba(0, 87, 255, 0.07),
    rgba(0, 194, 255, 0.025) 45%,
    transparent 70%
  );
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ── SECTION: RESET ── PURPOSE: Consistent baseline across all browsers ── */

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

[hidden] { display: none !important; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-base);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent-2);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background-color: var(--color-accent);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar              { width: 6px; }
::-webkit-scrollbar-track        { background: var(--color-bg); }
::-webkit-scrollbar-thumb        { background: var(--color-border); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover  { background: var(--color-muted); }


/* ── SECTION: TYPOGRAPHY ── PURPOSE: Fluid heading and body type system ── */

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl);  }
h4 { font-size: var(--text-lg);  }
h5 { font-size: var(--text-md);  }
h6 { font-size: var(--text-base); font-weight: 700; }

p {
  color: var(--color-muted);
  max-width: 68ch;
}

strong { font-weight: 700; color: var(--color-text); }
em     { font-style: italic; }

.text-accent   { color: var(--color-accent); }
.text-accent-2 { color: var(--color-accent-2); }
.text-teal     { color: var(--color-teal); }
.text-muted    { color: var(--color-muted); }

/* Gradient headline utility */
.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-2) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section heading block */
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  margin-bottom: var(--space-4);
}

.section-heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
}

.section-subtext {
  font-size: var(--text-md);
  color: var(--color-muted);
  max-width: 55ch;
}


/* ── SECTION: LAYOUT ── PURPOSE: Container and grid primitives ── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

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

/* Flex utilities */
.flex          { display: flex; }
.flex-center   { display: flex; align-items: center; justify-content: center; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-col      { display: flex; flex-direction: column; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }


/* ── SECTION: BUTTONS ── PURPOSE: CTAs and interactive controls ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition:
    background-color var(--duration-base) var(--ease-out),
    color            var(--duration-base) var(--ease-out),
    box-shadow       var(--duration-base) var(--ease-out),
    transform        var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  user-select: none;
}

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

/* Primary — solid accent */
.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-glow);
}

/* Secondary — outlined */
.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent-2);
  color: var(--color-accent-2);
}

/* Ghost — text-only with underline */
.btn-ghost {
  background-color: transparent;
  color: var(--color-accent-2);
  padding-inline: 0;
  border-radius: 0;
}
.btn-ghost:hover {
  color: var(--color-text);
}

/* Size modifiers */
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-md); }


/* ── SECTION: NAVIGATION ── PURPOSE: Sticky top nav with scroll-aware state and mobile drawer ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  transition:
    background-color var(--duration-base) var(--ease-out),
    box-shadow       var(--duration-base) var(--ease-out),
    border-bottom    var(--duration-base) var(--ease-out);
}

/* Scrolled state — applied via JS */
.site-header.is-scrolled {
  background-color: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border), var(--shadow-md);
}

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

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav__brand-name {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
  border-radius: var(--radius-pill);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

/* Dropdown trigger */
.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__dropdown-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.nav__item--has-dropdown:hover .nav__dropdown-icon,
.nav__item--has-dropdown:focus-within .nav__dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown menu */
.nav__item--has-dropdown {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity      var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out),
    visibility   var(--duration-base);
  pointer-events: none;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Arrow on dropdown */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  border-radius: var(--radius-md);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out);
}

.nav__dropdown-link:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

/* CTA button in nav */
.nav__cta {
  margin-left: var(--space-4);
}

/* Hamburger button — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: background-color var(--duration-fast) var(--ease-out);
}

.nav__hamburger:hover {
  background-color: var(--color-surface-2);
}

.nav__hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-pill);
  transition:
    transform var(--duration-base) var(--ease-out),
    opacity   var(--duration-base) var(--ease-out);
}

/* Animated X state */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ── SECTION: MOBILE DRAWER ── PURPOSE: Full-height slide-in nav for small screens ── */

.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  grid-template-columns: 1fr;
  pointer-events: none;
}

/* Backdrop */
.nav__drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--color-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

/* Panel */
.nav__drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}

/* Open state — toggled by JS adding .is-open to .nav__drawer */
.nav__drawer.is-open {
  pointer-events: auto;
}

.nav__drawer.is-open .nav__drawer-backdrop {
  opacity: 1;
}

.nav__drawer.is-open .nav__drawer-panel {
  transform: translateX(0);
}

/* Drawer header */
.nav__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.nav__drawer-header img {
  filter: brightness(0) invert(1);
}

.nav__drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-muted);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out);
}

.nav__drawer-close:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

/* Drawer nav links */
.nav__drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.nav__drawer-link {
  display: block;
  padding: var(--space-4);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-muted);
  border-radius: var(--radius-md);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out);
}

.nav__drawer-link:hover,
.nav__drawer-link.is-active {
  background-color: var(--color-surface-2);
  color: var(--color-text);
}

/* Drawer accordion for Products submenu */
.nav__drawer-item--accordion > .nav__drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__drawer-accordion-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.nav__drawer-item--accordion.is-expanded .nav__drawer-accordion-icon {
  transform: rotate(180deg);
}

.nav__drawer-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: var(--space-4);
  margin-top: var(--space-2);
}

.nav__drawer-item--accordion.is-expanded .nav__drawer-submenu {
  display: flex;
}

.nav__drawer-sublink {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--color-border);
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out),
    border-color     var(--duration-fast) var(--ease-out);
}

.nav__drawer-sublink:hover {
  background-color: var(--color-surface-2);
  color: var(--color-text);
  border-left-color: var(--color-accent-2);
}

/* Drawer CTA */
.nav__drawer-cta {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.nav__drawer-cta .btn {
  width: 100%;
  justify-content: center;
}


/* ── SECTION: RESPONSIVE NAV BREAKPOINT ── PURPOSE: Switch between desktop and mobile layouts ── */

@media (max-width: 900px) {
  .nav__links,
  .nav__cta,
  .nav__brand-name {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}


/* ── SECTION: ANIMATION UTILITIES ── PURPOSE: Reusable entrance animation classes for IntersectionObserver ── */

/* Elements start hidden; JS adds .is-visible to trigger entrance */
[data-animate] {
  opacity: 0;
  transition:
    opacity   var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

[data-animate="fade-up"] {
  transform: translateY(32px);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-left"] {
  transform: translateX(-32px);
}

[data-animate="fade-right"] {
  transform: translateX(32px);
}

[data-animate="scale-in"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered children — JS sets --delay on each child */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity   var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ── SECTION: CARD ── PURPOSE: Shared surface used by service, product, and feature cards ── */

.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition:
    border-color     var(--duration-base) var(--ease-out),
    box-shadow       var(--duration-base) var(--ease-out),
    transform        var(--duration-base) var(--ease-out);
}

.card:hover {
  border-color: var(--color-accent-2);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 194, 255, 0.08);
  transform: translateY(-2px);
}


/* ── SECTION: BADGE ── PURPOSE: Brand labels and category tags ── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background-color: var(--color-surface-2);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

.badge--accent {
  background-color: rgba(0, 87, 255, 0.15);
  color: var(--color-accent-2);
  border-color: rgba(0, 87, 255, 0.30);
}

.badge--teal {
  background-color: rgba(0, 180, 166, 0.12);
  color: var(--color-teal);
  border-color: rgba(0, 180, 166, 0.25);
}


/* ── SECTION: DIVIDER ── PURPOSE: Horizontal rules and section separators ── */

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  border: none;
  margin-block: var(--space-8);
}

.divider--gradient {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 20%,
    var(--color-border) 80%,
    transparent 100%
  );
}


/* ── SECTION: FOOTER ── PURPOSE: Base footer layout shared across all pages ── */

.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16) var(--space-8);
  color: var(--color-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-logo {
  height: 80px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer__brand-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  max-width: 30ch;
  line-height: 1.75;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-accent-2);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-muted);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ── SECTION: HERO ── PURPOSE: Full-bleed landing section with headline, subtext, and CTAs ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-bg);
  padding-top: var(--nav-height);
}

/* Layered background: dot grid + radial glow */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 60% 40%,
    rgba(0, 87, 255, 0.18) 0%,
    rgba(0, 194, 255, 0.06) 35%,
    transparent 65%
  );
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Decorative glow blob */
.hero__glow {
  position: absolute;
  top: 15%;
  right: -5%;
  width: clamp(300px, 50vw, 700px);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    rgba(0, 87, 255, 0.20) 0%,
    rgba(0, 180, 166, 0.08) 50%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-24);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.00;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero__subtext {
  font-size: var(--text-md);
  color: var(--color-muted);
  max-width: 50ch;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* Hero visual panel */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
}

.hero__device-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 87, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Decorative inner pattern for placeholder visual */
.hero__device-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(0, 87, 255, 0.03) 0px,
    rgba(0, 87, 255, 0.03) 1px,
    transparent 1px,
    transparent 20px
  );
}

.hero__device-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-8);
}

.hero__device-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--color-accent);
  opacity: 0.7;
}

.hero__device-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Floating product cards (hero visual) ── */
.hero__cards {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__product-card {
  position: absolute;
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.hero__product-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.hero__product-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__product-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  white-space: nowrap;
}

.hero__product-card--1 {
  width: 160px;
  z-index: 1;
  transform: translate(-92px, 28px) rotate(-7deg);
  opacity: 0.82;
  animation: hero-float-1 6.5s ease-in-out infinite alternate;
}

.hero__product-card--2 {
  width: 190px;
  z-index: 3;
  transform: rotate(2deg);
  border-color: rgba(0, 87, 255, 0.35);
  box-shadow: var(--shadow-lg), 0 0 48px rgba(0, 87, 255, 0.2);
  animation: hero-float-2 8s ease-in-out infinite alternate;
}

.hero__product-card--3 {
  width: 155px;
  z-index: 2;
  transform: translate(90px, -22px) rotate(8deg);
  opacity: 0.78;
  animation: hero-float-3 7s ease-in-out infinite alternate;
}

@keyframes hero-float-1 {
  from { transform: translate(-92px, 28px)  rotate(-7deg); }
  to   { transform: translate(-92px, 10px)  rotate(-7deg); }
}

@keyframes hero-float-2 {
  from { transform: rotate(2deg) translateY(0);    }
  to   { transform: rotate(2deg) translateY(-16px); }
}

@keyframes hero-float-3 {
  from { transform: translate(90px, -22px) rotate(8deg); }
  to   { transform: translate(90px, -40px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__product-card { animation: none !important; }
}

/* ── Hero scan beam animation (Option B) ── */
.hero__scanner {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

/* Relative wrapper so chips position against frame area, not full scanner */
.hero__scan-area {
  position: relative;
  padding: 18px 56px;
}

.hero__scan-frame {
  position: relative;
  width: 300px;
  height: 180px;
  background: rgba(0, 180, 166, 0.03);
  overflow: hidden;
  cursor: crosshair;
}

.hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
}

.hero__corner--tl { top: 0;    left: 0;  border-top:    2px solid var(--color-teal); border-left:  2px solid var(--color-teal); }
.hero__corner--tr { top: 0;    right: 0; border-top:    2px solid var(--color-teal); border-right: 2px solid var(--color-teal); }
.hero__corner--bl { bottom: 0; left: 0;  border-bottom: 2px solid var(--color-teal); border-left:  2px solid var(--color-teal); }
.hero__corner--br { bottom: 0; right: 0; border-bottom: 2px solid var(--color-teal); border-right: 2px solid var(--color-teal); }

.hero__barcode {
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
}

.hero__barcode svg {
  width: 100%;
  height: 100%;
  color: var(--color-text);
  opacity: 0.25;
}

.hero__scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--color-teal);
  box-shadow:
    0 0 6px 2px rgba(0, 180, 166, 0.7),
    0 0 20px 6px rgba(0, 180, 166, 0.3);
  animation: scan-sweep 2.6s ease-in-out infinite;
}

.hero__scan-beam::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 48px;
  background: linear-gradient(to bottom, rgba(0, 180, 166, 0.1), transparent);
}

@keyframes scan-sweep {
  0%   { transform: translateY(0);     }
  50%  { transform: translateY(178px); }
  100% { transform: translateY(0);     }
}

.hero__decode-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid rgba(0, 180, 166, 0.35);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-teal);
  white-space: nowrap;
  opacity: 0;
  animation: chip-cycle 7.8s ease-in-out infinite;
}

.hero__decode-chip--1 { top: 14px;  right: 0;    animation-delay: 0s;   }
.hero__decode-chip--2 { top: 50%;   right: 0;    animation-delay: 2.6s; margin-top: -12px; }
.hero__decode-chip--3 { bottom: 14px; left: 0;   animation-delay: 5.2s; }

/* Interactive mode: beam follows cursor, transition gives it a satisfying lag */
.hero__scan-frame.is-interactive .hero__scan-beam {
  animation-play-state: paused;
  transform: translateY(var(--beam-y, 0px));
  transition: transform 0.08s ease-out;
}

@keyframes chip-cycle {
  0%   { opacity: 0; transform: translateX(10px); }
  8%   { opacity: 1; transform: translateX(0);    }
  28%  { opacity: 1; transform: translateX(0);    }
  40%  { opacity: 0; transform: translateX(-6px); }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scan-beam   { animation: none; top: 50%; }
  .hero__decode-chip { animation: none; opacity: 1; }
}

/* ── SECTION: HERO RFID ── PURPOSE: Horizontal sweep beam + RFID smart card visual, mirrors scanner interaction on the X axis ── */

.hero__rfid {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.hero__rfid-area {
  position: relative;
  padding: 18px 56px;
}

.hero__rfid-frame {
  position: relative;
  width: 300px;
  height: 160px;
  background: rgba(0, 194, 255, 0.03);
  overflow: hidden;
  cursor: crosshair;
}

.hero__rfid-corner {
  position: absolute;
  width: 22px;
  height: 22px;
}

.hero__rfid-corner--tl { top: 0;    left: 0;  border-top:    2px solid var(--color-accent-2); border-left:  2px solid var(--color-accent-2); }
.hero__rfid-corner--tr { top: 0;    right: 0; border-top:    2px solid var(--color-accent-2); border-right: 2px solid var(--color-accent-2); }
.hero__rfid-corner--bl { bottom: 0; left: 0;  border-bottom: 2px solid var(--color-accent-2); border-left:  2px solid var(--color-accent-2); }
.hero__rfid-corner--br { bottom: 0; right: 0; border-bottom: 2px solid var(--color-accent-2); border-right: 2px solid var(--color-accent-2); }

.hero__rfid-card {
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
  color: var(--color-accent-2);
}

.hero__rfid-card svg {
  width: 100%;
  height: 100%;
  opacity: 0.28;
}

.hero__rfid-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--color-accent-2);
  box-shadow:
    0 0 6px 2px rgba(0, 194, 255, 0.7),
    0 0 20px 6px rgba(0, 194, 255, 0.3);
  animation: rfid-sweep 2.6s ease-in-out infinite;
}

.hero__rfid-beam::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 48px;
  background: linear-gradient(to right, rgba(0, 194, 255, 0.1), transparent);
}

@keyframes rfid-sweep {
  0%   { transform: translateX(0);      }
  50%  { transform: translateX(298px);  }
  100% { transform: translateX(0);      }
}

.hero__rfid-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid rgba(0, 194, 255, 0.35);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-2);
  white-space: nowrap;
  opacity: 0;
  animation: chip-cycle 7.8s ease-in-out infinite;
}

.hero__rfid-chip--1 { top: 14px;    right: 0;  animation-delay: 0s;   }
.hero__rfid-chip--2 { top: 50%;     right: 0;  animation-delay: 2.6s; margin-top: -12px; }
.hero__rfid-chip--3 { bottom: 14px; left: 0;   animation-delay: 5.2s; }

/* Interactive mode: beam follows cursor X, mirrors scanner Y interaction */
.hero__rfid-frame.is-interactive .hero__rfid-beam {
  animation-play-state: paused;
  transform: translateX(var(--rfid-beam-x, 0px));
  transition: transform 0.08s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero__rfid-beam { animation: none; left: 50%; }
  .hero__rfid-chip { animation: none; opacity: 1; }
}

/* Stats row — RFID readouts below the frame */
.hero__rfid-stats {
  display: flex;
  gap: var(--space-4);
  width: 300px;
}

.hero__rfid-stats .hero__rfid-stat {
  flex: 1;
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-left: 2px solid var(--color-accent-2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  cursor: default;
  transition:
    transform      var(--duration-fast) var(--ease-out),
    border-color   var(--duration-fast) var(--ease-out),
    box-shadow     var(--duration-fast) var(--ease-out),
    background     var(--duration-fast) var(--ease-out);
}

.hero__rfid-stats .hero__rfid-stat:hover {
  transform: scale(1.06);
  border-color: var(--color-accent-2);
  background-color: rgba(0, 194, 255, 0.07);
  box-shadow: 0 0 18px rgba(0, 194, 255, 0.18);
}

/* Stats row — scan readouts below the frame */
.hero__scan-stats {
  display: flex;
  gap: var(--space-4);
  width: 300px;
}

.hero__scan-stats .hero__stat {
  position: static;
  flex: 1;
  border: 1px solid rgba(0, 180, 166, 0.2);
  border-left: 2px solid var(--color-teal);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  cursor: default;
  transition:
    transform      var(--duration-fast) var(--ease-out),
    border-color   var(--duration-fast) var(--ease-out),
    box-shadow     var(--duration-fast) var(--ease-out),
    background     var(--duration-fast) var(--ease-out);
}

.hero__scan-stats .hero__stat:hover {
  transform: scale(1.06);
  border-color: var(--color-teal);
  background-color: rgba(0, 180, 166, 0.07);
  box-shadow: 0 0 18px rgba(0, 180, 166, 0.18);
}

/* Floating stat chips */
.hero__stat {
  position: absolute;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-md);
}

.hero__stat:nth-child(2) {
  top: -12px;
  right: -16px;
}

.hero__stat:nth-child(3) {
  bottom: 20px;
  left: -20px;
}

.hero__stat-value {
  display: block;
  font-size: var(--text-xl);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text);
}

.hero__stat-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2.4s ease-in-out infinite;
}

.hero__scroll-arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    padding-block: var(--space-16);
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtext {
    max-width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .hero__scroll {
    display: none;
  }
}


/* ── SECTION: ABOUT ── PURPOSE: Company identity — who we are, team, objective ── */

.about {
  background-color: var(--color-bg);
  background-image: radial-gradient(rgba(0, 87, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.about__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about__block-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.about__block-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-teal);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.about__block h3 {
  font-size: var(--text-xl);
  color: var(--color-text);
}

.about__block p {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.80;
  max-width: 100%;
}

/* Stats panel */
.about__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.about__stat-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out);
}

.about__stat-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 0 20px rgba(0, 180, 166, 0.08);
}

.about__stat-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 166, 0.12);
  border: 1px solid rgba(0, 180, 166, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.about__stat-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about__stat-value {
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1;
  color: var(--color-text);
}

.about__stat-desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .about__stats {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .about__stats {
    grid-template-columns: 1fr;
  }
}


/* ── SECTION: SERVICES ── PURPOSE: 6-card grid of core product and service categories ── */

.services {
  background-color: var(--color-surface);
  background-image:
    linear-gradient(rgba(0, 87, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0,87,255,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.services__header .section-subtext {
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out);
  text-decoration: none;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md), 0 0 24px rgba(0, 87, 255, 0.10);
  transform: translateY(-3px);
}

.service-card:hover .service-card__icon {
  background: rgba(0, 87, 255, 0.20);
  border-color: rgba(0, 87, 255, 0.35);
  color: var(--color-accent-2);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 87, 255, 0.10);
  border: 1px solid rgba(0, 87, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition:
    background     var(--duration-base) var(--ease-out),
    border-color   var(--duration-base) var(--ease-out),
    color          var(--duration-base) var(--ease-out);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.70;
  max-width: 100%;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-top: var(--space-2);
  transition: gap var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__link {
  gap: var(--space-3);
  color: var(--color-accent-2);
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}


/* ── SECTION: BRANDS ── PURPOSE: Auto-scrolling infinite marquee of partner brand names ── */

.brands {
  background-color: var(--color-bg);
  overflow: hidden;
}

.brands__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* Fade edges of marquee track */
.brands__track-wrapper {
  position: relative;
}

.brands__track-wrapper::before,
.brands__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.brands__track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.brands__track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.brands__marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

/* Single track containing items × 2 — animates by -50% for a perfect seamless loop */
.brands__track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
  padding-block: var(--space-4);
  animation: marquee-scroll 40s linear infinite;
}

.brands__marquee:hover .brands__track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Row 2 reverses direction */
.brands__marquee--reverse .brands__track {
  animation-direction: reverse;
}

.brands__marquee--row2 {
  margin-top: var(--space-4);
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    color        var(--duration-fast) var(--ease-out);
}

.brand-chip:hover {
  border-color: var(--color-teal);
  color: var(--color-text);
}

/* Logo swap: when brand images are available, replace .brand-chip spans with .brand-logo img */
.brand-logo {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  transition:
    opacity var(--duration-fast) var(--ease-out),
    filter  var(--duration-fast) var(--ease-out);
}

.brand-logo:hover {
  opacity: 1;
  filter: none;
}


/* ── SECTION: CONTACT STRIP ── PURPOSE: Compact call-to-action band before footer ── */

.contact-strip {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}

.contact-strip::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(0,87,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-strip__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
}

.contact-strip__heading {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.contact-strip__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.contact-strip__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.contact-strip__info-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-strip__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-end;
  flex-shrink: 0;
}

/* WhatsApp button variant */
.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  gap: var(--space-3);
}

.btn-whatsapp:hover {
  background-color: #1eb854;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.30);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-strip__hours {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-align: right;
}

@media (max-width: 768px) {
  .contact-strip__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .contact-strip__actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-strip__hours {
    text-align: left;
    width: 100%;
  }
}


/* ── SECTION: CATALOG HERO ── PURPOSE: Compact page header for interior pages ── */

.page-hero {
  background-color: var(--color-bg);
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(0,87,255,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.page-hero__title {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.05;
}

.page-hero__sub {
  font-size: var(--text-md);
  color: var(--color-muted);
  margin-top: var(--space-3);
  max-width: 50ch;
}

.page-hero__count {
  font-size: var(--text-sm);
  color: var(--color-muted);
  flex-shrink: 0;
  align-self: flex-end;
}

.page-hero__count strong {
  color: var(--color-accent-2);
  font-weight: 700;
}


/* ── SECTION: CATALOG FILTERS ── PURPOSE: Sticky filter bar for product category switching ── */

.catalog-filters {
  position: sticky;
  top: var(--nav-height);
  z-index: var(--z-raised);
  background-color: var(--color-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-4);
  padding-right: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  color: var(--color-muted);
  background-color: transparent;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color     var(--duration-fast) var(--ease-out),
    color            var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: var(--color-accent-2);
  color: var(--color-text);
}

.filter-btn.is-active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.filter-btn .filter-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background-color: rgba(255,255,255,0.18);
  line-height: 1;
}

.filter-btn:not(.is-active) .filter-btn__count {
  background-color: var(--color-surface-2);
  color: var(--color-muted);
}


/* ── SECTION: PRODUCT GRID ── PURPOSE: Filterable 3-column product card grid ── */

.catalog-section {
  background-color: var(--color-bg);
  padding-block: var(--space-16);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ── Product Card ── */

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out),
    transform    var(--duration-base) var(--ease-out);
}

.product-card:hover {
  border-color: var(--color-accent-2);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0,194,255,0.07);
  transform: translateY(-3px);
}

.product-card.is-hidden {
  display: none;
}

/* Image area */
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--color-surface-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-4);
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

/* Placeholder shown when no image */
.product-card__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 100%;
  color: var(--color-muted);
}

.product-card__img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card__img-placeholder span {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.40;
}

/* Card body */
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  flex: 1;
}

.product-card__brand {
  /* uses .badge class */
}

.product-card__name {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

/* Specs list */
.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
  flex: 1;
}

.product-card__spec {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.4;
}

.product-card__spec::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 5px;
}

/* CTA */
.product-card__cta {
  margin-top: var(--space-4);
  width: 100%;
  justify-content: center;
}

/* Category label inside card (bottom accent stripe) */
.product-card__category {
  display: block;
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface-2);
}

/* Empty state — hidden by default, shown via .is-visible class */
.catalog-empty {
  display: none;
}

.catalog-empty.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-24) var(--space-8);
  text-align: center;
  color: var(--color-muted);
}

.catalog-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.30;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-empty p {
  font-size: var(--text-md);
  font-weight: 600;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}


/* ── SECTION: LOCATION SWITCHER ── PURPOSE: Inline country toggle for contact info sections ── */

.loc-selector {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.loc-selector__label {
  font-size: var(--text-xs);
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.loc-selector__options {
  display: flex;
  gap: var(--space-1);
}

.loc-selector__btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  height: 26px;
  font-size: var(--text-xs);
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
  white-space: nowrap;
}

.loc-selector__btn:hover {
  border-color: var(--color-accent-2);
  color: var(--color-text);
}

.loc-selector__btn.is-active {
  background-color: rgba(0, 194, 255, 0.12);
  border-color: var(--color-accent-2);
  color: var(--color-accent-2);
}

.contact-strip__phone-link {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s;
}

.contact-strip__phone-link:hover {
  color: var(--color-accent-2);
}


/* ── SECTION: BRAND FILTER ── PURPOSE: Second filter row on catalog page for brand filtering ── */

.filter-bar--brands {
  padding-top: 0;
  padding-bottom: var(--space-3);
  margin-top: var(--space-2);
}

.filter-btn--brand {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  height: 28px;
  border-color: transparent;
  background-color: transparent;
  color: var(--color-muted);
}

.filter-btn--brand:hover {
  border-color: var(--color-accent-2);
  color: var(--color-text);
  background-color: rgba(0, 194, 255, 0.06);
}

.filter-btn--brand.is-active {
  background-color: rgba(0, 194, 255, 0.12);
  border-color: var(--color-accent-2);
  color: var(--color-accent-2);
}


/* ── SECTION: PRODUCT DETAIL ── PURPOSE: Single product page — hero, specs, resources, CTA ── */

/* Breadcrumb */
.product-breadcrumb {
  background-color: var(--color-bg);
  padding-top: calc(var(--nav-height) + var(--space-5));
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  flex-wrap: wrap;
  font-size: var(--text-sm);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  color: var(--color-border);
  margin-right: var(--space-2);
}

.breadcrumb__link {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb__link:hover {
  color: var(--color-accent-2);
}

.breadcrumb__item--current {
  color: var(--color-text);
  font-weight: 600;
}

/* Product hero */
.product-hero {
  background-color: var(--color-bg);
  padding-block: var(--space-16);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.product-hero__media {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: var(--space-8);
}

.product-detail__img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.product-detail__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--color-border);
  text-align: center;
  padding: var(--space-8);
}

.product-detail__img-placeholder svg {
  width: 100px;
  height: 100px;
  opacity: 0.25;
}

.product-detail__img-placeholder span {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 600;
}

.product-hero__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-hero__category {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.product-hero__name {
  font-size: var(--text-3xl);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.product-hero__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: var(--space-2) 0;
  padding: var(--space-5);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.product-hero__spec {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.product-hero__spec-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-2);
  margin-top: 0.45em;
}

.product-hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

/* Resource grid */
.product-resources {
  background-color: var(--color-surface);
  padding-block: var(--space-16);
  border-top: 1px solid var(--color-border);
}

.product-resources__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  margin-bottom: var(--space-10);
  letter-spacing: -0.01em;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.resource-card {
  background-color: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color 0.2s;
}

.resource-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
}

.resource-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.resource-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent-2);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  margin: 0;
}

.resource-card__body {
  flex: 1;
}

.resource-card__placeholder {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-style: italic;
}

.resource-card__placeholder-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  opacity: 0.6;
}

.resource-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.resource-card__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-accent-2);
  text-decoration: none;
  transition: color 0.15s;
}

.resource-card__link:hover {
  color: var(--color-text);
}

.resource-card__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.resource-card__desc {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin: var(--space-1) 0 0 calc(14px + var(--space-2));
}

.resource-card__loading {
  font-size: var(--text-sm);
  color: var(--color-muted);
  font-style: italic;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.spec-table__section th {
  text-align: left;
  padding: var(--space-3) var(--space-3) var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-2);
  border-bottom: 1px solid var(--color-border);
}

.spec-table__section:not(:first-child) th {
  padding-top: var(--space-5);
}

.spec-table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.03);
}

.spec-table__key {
  padding: var(--space-2) var(--space-3);
  color: var(--color-muted);
  width: 42%;
  vertical-align: top;
}

.spec-table__val {
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
}

/* Product detail CTA strip */
.product-cta-strip {
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.08) 0%, rgba(0, 194, 255, 0.06) 100%);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-16);
}

.product-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.product-cta-strip__title {
  font-size: var(--text-2xl);
  font-weight: 900;
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

.product-cta-strip__sub {
  color: var(--color-muted);
  margin: 0;
  font-size: var(--text-md);
}

.product-cta-strip__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Loading + error states */
.product-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  color: var(--color-muted);
  padding-top: var(--nav-height);
}

.product-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.product-error {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  text-align: center;
  padding: var(--space-16) var(--space-8);
  padding-top: calc(var(--nav-height) + var(--space-16));
  color: var(--color-muted);
}

.product-error svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

.product-error h1 {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
  margin: 0;
}

.product-error p {
  font-size: var(--text-md);
  margin: 0;
  max-width: 380px;
}

/* Responsive */
@media (max-width: 900px) {
  .product-hero__grid {
    grid-template-columns: 1fr;
  }

  .product-hero__media {
    position: static;
    min-height: 280px;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .product-hero__name {
    font-size: var(--text-2xl);
  }
}


/* ── SECTION: NOSOTROS ── PURPOSE: Extended about page — story, values, differentiators ── */

/* Company story — full-width text + timeline accent */
.story {
  background-color: var(--color-bg);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.story__text p {
  font-size: var(--text-base);
  color: var(--color-muted);
  line-height: 1.85;
  max-width: 100%;
}

/* Timeline strip */
.story__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: var(--space-8);
}

.story__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-teal));
  border-radius: var(--radius-pill);
}

.story__milestone {
  position: relative;
  padding: var(--space-5) 0 var(--space-6);
}

.story__milestone::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: calc(var(--space-5) + 4px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.25);
}

.story__year {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  margin-bottom: var(--space-2);
}

.story__milestone-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 100%;
}

.story__milestone-text strong {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

/* Values grid */
.values {
  background-color: var(--color-surface);
  position: relative;
}

.values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(0,180,166,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.values__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.values__header .section-subtext {
  margin-inline: auto;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.value-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    border-color var(--duration-base) var(--ease-out),
    box-shadow   var(--duration-base) var(--ease-out);
}

.value-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 0 20px rgba(0,180,166,0.07);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 180, 166, 0.10);
  border: 1px solid rgba(0, 180, 166, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card__title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text);
}

.value-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 100%;
}

@media (max-width: 900px) {
  .values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
}

/* Why NCT — horizontal feature list */
.why-nct {
  background-color: var(--color-bg);
}

.why-nct__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.why-nct__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.why-item__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.why-item__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.why-item__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.why-item__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.70;
  max-width: 100%;
}

/* Visual panel for Why NCT */
.why-nct__visual {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.why-nct__brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.why-nct__cta-row {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.why-nct__cta-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .why-nct__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .why-nct__visual {
    display: none;
  }
}


/* ── SECTION: CONTACT FORM ── PURPOSE: Form layout, inputs, validation states ── */

.contact-page {
  background-color: var(--color-bg);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-16);
  align-items: start;
}

/* Form card */
.contact-form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
}

.contact-form-card__title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.contact-form-card__sub {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-8);
  max-width: 100%;
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-label .required {
  color: var(--color-accent-2);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: var(--color-surface-2);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-base);
  padding: var(--space-3) var(--space-4);
  transition:
    border-color var(--duration-fast) var(--ease-out),
    box-shadow   var(--duration-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.60;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.18);
}

/* Select custom arrow */
.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-muted);
  pointer-events: none;
}

.form-select {
  cursor: pointer;
  padding-right: var(--space-10);
}

.form-select option {
  background-color: var(--color-surface);
  color: var(--color-text);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.form-submit-row .btn {
  flex-shrink: 0;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-muted);
  line-height: 1.60;
}

.form-error {
  display: none;
  font-size: var(--text-sm);
  color: #ff5c5c;
  background: rgba(255,92,92,0.08);
  border: 1px solid rgba(255,92,92,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-2);
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
  padding: var(--space-12) var(--space-6);
}

.form-success.is-visible {
  display: flex;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,180,166,0.12);
  border: 1px solid rgba(0,180,166,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success__title {
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-text);
}

.form-success__text {
  font-size: var(--text-sm);
  color: var(--color-muted);
  max-width: 40ch;
  margin-inline: auto;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.contact-info-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-info-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-detail__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(0,87,255,0.10);
  border: 1px solid rgba(0,87,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact-detail__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-1);
}

.contact-detail__value {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.60;
}

.contact-detail__value a {
  color: var(--color-accent-2);
  transition: color var(--duration-fast) var(--ease-out);
}

.contact-detail__value a:hover {
  color: var(--color-text);
}

/* WhatsApp card */
.whatsapp-card {
  background: linear-gradient(135deg, rgba(37,211,102,0.12) 0%, rgba(37,211,102,0.04) 100%);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  align-items: center;
}

.whatsapp-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37,211,102,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
}

.whatsapp-card__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.whatsapp-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.whatsapp-card__sub {
  font-size: var(--text-xs);
  color: var(--color-muted);
  max-width: 100%;
}

.whatsapp-card .btn-whatsapp {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1024px) {
  .contact-page__grid {
    grid-template-columns: 1fr 340px;
    gap: var(--space-10);
  }
}

@media (max-width: 820px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 520px) {
  .contact-info {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: var(--space-6);
  }
}


/* ── SECTION: PHASE 5 POLISH ── PURPOSE: Hero entrance animation, utilities, form states, global refinements ── */

/* ── Page load fade-in ───────────────────────────────────────────── */

@keyframes page-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: page-fade-in 0.30s ease-out both;
}


/* ── Hero entrance animations ────────────────────────────────────── */
/* CSS-driven so elements stagger automatically on load without JS   */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Stagger each direct child of hero__content */
.hero__content > * {
  opacity: 0;
  animation: hero-rise 0.65s var(--ease-out) forwards;
}

.hero__content > *:nth-child(1) { animation-delay: 0.10s; }
.hero__content > *:nth-child(2) { animation-delay: 0.28s; }
.hero__content > *:nth-child(3) { animation-delay: 0.46s; }
.hero__content > *:nth-child(4) { animation-delay: 0.62s; }

/* Visual panel slides in from the right */
.hero__visual {
  animation: hero-slide-in 0.80s var(--ease-out) 0.30s both;
}

/* Stat readouts pop in after the frame */
.hero__scan-stats .hero__stat:nth-child(1) {
  animation: hero-rise 0.50s var(--ease-out) 0.70s both;
}
.hero__scan-stats .hero__stat:nth-child(2) {
  animation: hero-rise 0.50s var(--ease-out) 0.85s both;
}

/* RFID stats pop in after scan stats */
.hero__rfid-stats .hero__rfid-stat:nth-child(1) {
  animation: hero-rise 0.50s var(--ease-out) 0.90s both;
}
.hero__rfid-stats .hero__rfid-stat:nth-child(2) {
  animation: hero-rise 0.50s var(--ease-out) 1.05s both;
}

/* Scroll hint fades in last */
.hero__scroll {
  animation: hero-rise 0.50s var(--ease-out) 1.00s both;
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero__content > *,
  .hero__visual,
  .hero__stat,
  .hero__scan-stats .hero__stat,
  .hero__rfid-stats .hero__rfid-stat,
  .hero__scroll,
  body {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ── Scroll animation tuning ─────────────────────────────────────── */
/* Override duration for a snappier feel */

[data-animate] {
  transition-duration: 0.50s;
}

[data-animate-stagger] > * {
  transition-duration: 0.50s;
}


/* ── Utility classes ─────────────────────────────────────────────── */

/* Generic action row — flex CTA group used outside hero */
.action-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

/* Full-width button */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* Sidebar catalog note */
.contact-catalog-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  max-width: 100%;
}


/* ── Form validation error state ─────────────────────────────────── */

.form-input.has-error,
.form-textarea.has-error {
  border-color: #FF4D4D;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.15);
}

.form-input.has-error:focus,
.form-textarea.has-error:focus {
  border-color: #FF4D4D;
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.22);
}


/* ── Nav refinements ─────────────────────────────────────────────── */

/* Ensure header is always readable against the dark hero bg */
.site-header:not(.is-scrolled) .nav__link {
  color: rgba(240, 244, 255, 0.70);
}

.site-header:not(.is-scrolled) .nav__link:hover,
.site-header:not(.is-scrolled) .nav__link.is-active {
  color: var(--color-text);
}


/* ── Scroll animation base duration fix ─────────────────────────── */
/* 400ms felt sluggish on fast scroll; 500ms with ease-out feels right */

:root {
  --duration-slow: 500ms;
}


/* ── About section stat card stagger ────────────────────────────── */
/* Give stagger effect to stat cards since they use individual data-animate */

.about__stat-card:nth-child(1) { transition-delay: 0ms;   }
.about__stat-card:nth-child(2) { transition-delay: 80ms;  }
.about__stat-card:nth-child(3) { transition-delay: 160ms; }
.about__stat-card:nth-child(4) { transition-delay: 240ms; }


/* ── Section label underline accent ─────────────────────────────── */
/* Already styled with color — just make sure line-height is consistent */

.section-label {
  line-height: 1;
}


/* ── Smooth focus ring for keyboard nav ──────────────────────────── */

.filter-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent-2);
  outline-offset: 3px;
}


/* ── Product card CTA alignment fix ─────────────────────────────── */
/* Push CTA to bottom of card regardless of spec text length */

.product-card__body {
  display: flex;
  flex-direction: column;
}

.product-card__specs {
  flex: 1;
}


/* ── Page hero breadcrumb hint ───────────────────────────────────── */
/* Small visual polish: gradient line under title */

.page-hero__title {
  position: relative;
  display: inline-block;
}


/* ── Contact strip link color ────────────────────────────────────── */

.contact-strip__info-item strong {
  color: var(--color-text);
  font-weight: 700;
}


/* ── Footer link subtle arrow on hover ───────────────────────────── */

.footer__link {
  position: relative;
}

.footer__link[href]:hover::after {
  content: ' →';
  opacity: 0.60;
}

/* ── SECTION: CHATBOT WIDGET ── PURPOSE: Floating chat bubble with WhatsApp handoff flow ── */

.cb-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cb-bubble:hover {
  background: #0047d9;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0, 87, 255, 0.55);
}

.cb-window {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 1000;
  width: 340px;
  max-height: 520px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  animation: cb-slide-up 0.22s ease;
}

@keyframes cb-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@media (max-width: 400px) {
  .cb-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
  }
  .cb-bubble {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Header */
.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.cb-header__identity {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.cb-header__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.cb-header__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cb-header__text strong {
  font-size: 0.875rem;
  color: var(--color-text);
}

.cb-header__text span {
  font-size: 0.72rem;
  color: #22c55e;
}

.cb-close {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.15s;
}

.cb-close:hover { color: var(--color-text); }

/* Messages */
.cb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.cb-messages::-webkit-scrollbar { width: 4px; }
.cb-messages::-webkit-scrollbar-track { background: transparent; }
.cb-messages::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

.cb-msg {
  max-width: 82%;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  word-break: break-word;
}

.cb-msg--bot {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.cb-msg--user {
  background: var(--color-accent);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Typing indicator */
.cb-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.85rem;
}

.cb-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-muted);
  animation: cb-bounce 1.2s infinite ease-in-out;
}

.cb-typing span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes cb-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40%            { transform: scale(1);   opacity: 1;   }
}

/* Footer */
.cb-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
  background: var(--color-surface);
}

/* Quick replies */
.cb-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cb-qr-btn {
  background: var(--color-surface-2);
  color: var(--color-accent-2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.55rem 0.875rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.cb-qr-btn:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: var(--color-accent-2);
}

/* Input row */
.cb-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cb-input {
  flex: 1;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.875rem;
  padding: 0.55rem 0.75rem;
  outline: none;
  transition: border-color 0.15s;
}

.cb-input::placeholder { color: var(--color-muted); }
.cb-input:focus { border-color: var(--color-accent); }

.cb-send-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}

.cb-send-btn:hover { background: #0047d9; }

/* WhatsApp CTA */
.cb-wa-btn {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, transform 0.15s;
}

.cb-wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
