/* ==========================================================================
   AITECHVZLA — Corporate Design System (CloudSync Ecosystem)
   AUTOMATIZACION IA Y TECNOLOGIA, C.A. | RIF J-50822789-1
   ========================================================================== */

:root {
  --navy-950: #050c1b;
  --navy-900: #0a162e;
  --navy-850: #0e1e3d;
  --navy-800: #162b52;
  --navy-700: #1e3a6e;

  --cyan-300: #7dd3fc;
  --cyan-400: #38bdf8;
  --cyan-500: #0ea5e9;
  --blue-500: #2563eb;
  --blue-600: #0066e6;
  --blue-700: #0052bc;
  --emerald-400: #34d399;
  --emerald-500: #10b981;

  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(5, 12, 27, 0.05);
  --shadow-md: 0 12px 32px rgba(5, 12, 27, 0.08);
  --shadow-lg: 0 24px 60px rgba(5, 12, 27, 0.14);
  --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.22);

  --container: 1220px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  max-width: 100%;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 102, 230, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.44);
  filter: brightness(1.06);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--cyan-400);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: var(--white);
  border-color: var(--slate-300);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--slate-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(5, 12, 27, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 12, 27, 0.94);
  box-shadow: 0 10px 30px rgba(2, 6, 18, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.28);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-logo-badge {
  height: 48px;
  width: auto;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  object-fit: contain;
}

.eco-logo-badge {
  height: 54px;
  width: auto;
  max-width: 132px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  object-fit: contain;
  align-self: flex-start;
}

.hero-brand-pair {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-aitech-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}

.footer-brand-pair {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-aitech-logo {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}

.about-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.about-aitech-logo {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(5, 12, 27, 0.2);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.4px;
  color: var(--white);
}

.brand-name span {
  color: var(--cyan-400);
}

.brand-sub {
  font-size: 0.64rem;
  color: var(--slate-400);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--cyan-400);
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(7, 16, 36, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding: 20px 24px 28px;
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mobile-drawer a {
  display: block;
  color: var(--slate-200);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
}

.mobile-drawer .drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 64px) 0 88px;
  background: radial-gradient(circle at 18% 20%, rgba(14, 165, 233, 0.16), transparent 44%),
              radial-gradient(circle at 82% 28%, rgba(0, 102, 230, 0.22), transparent 46%),
              linear-gradient(180deg, var(--navy-950) 0%, #071329 65%, #0a1b38 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: var(--cyan-300);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 12px var(--cyan-400);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(95deg, #38bdf8 0%, #60a5fa 55%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--slate-300);
  max-width: 590px;
  margin-bottom: 30px;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
}

.proof-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 1.35;
  margin-top: 3px;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(145deg, rgba(14, 30, 61, 0.9), rgba(5, 12, 27, 0.95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), var(--shadow-glow);
}

.hero-frame img.hero-artwork {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.hero-brand-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(7, 16, 36, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-brand-ribbon img {
  height: 34px;
  width: auto;
}

.ribbon-meta {
  text-align: right;
}

.ribbon-meta strong {
  display: block;
  font-size: 0.8rem;
  color: var(--cyan-300);
  font-family: var(--font-mono);
}

.ribbon-meta span {
  font-size: 0.74rem;
  color: var(--slate-400);
}

.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(8, 18, 40, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.float-pill.top-left {
  top: 16px;
  left: 16px;
}

.float-pill.bottom-right {
  bottom: 84px;
  right: 16px;
}

.pill-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
}

/* ---------- Shared Section Styling ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-head {
  max-width: 740px;
  margin-bottom: 52px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.section-dark .kicker {
  color: var(--cyan-400);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy-950);
  margin-bottom: 14px;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  font-size: 1.03rem;
  color: var(--slate-600);
}

.section-dark .section-head p {
  color: var(--slate-300);
}

/* ---------- Core Suite Interactive Explorer ---------- */
.suite-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.suite-tab {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.suite-tab:hover {
  border-color: var(--cyan-500);
  transform: translateY(-2px);
}

.suite-tab.active {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
  border-color: var(--cyan-500);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(5, 12, 27, 0.18);
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue-600);
}

.suite-tab.active .tab-badge {
  color: var(--cyan-400);
}

.suite-tab strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-950);
}

.suite-tab.active strong {
  color: var(--white);
}

.suite-tab span.tab-sub {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.suite-tab.active span.tab-sub {
  color: var(--slate-300);
}

.suite-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  animation: fadeSlide 0.3s ease;
}

.suite-panel.active {
  display: grid;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-copy .panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 14px;
}

.panel-copy h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.2;
  margin-bottom: 12px;
}

.panel-copy p {
  color: var(--slate-600);
  margin-bottom: 22px;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  margin-bottom: 26px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-800);
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  margin-top: 2px;
}

/* Interactive UI Mockups inside Suite Panels */
.mockup-stage {
  background: linear-gradient(145deg, var(--navy-950) 0%, #0d2144 100%);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(5, 12, 27, 0.24);
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
  display: block;
}

.mock-dots i:first-child { background: #f87171; }
.mock-dots i:nth-child(2) { background: #fbbf24; }
.mock-dots i:nth-child(3) { background: #34d399; }

.mock-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan-300);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 10px;
  padding: 12px;
}

.mock-kpi span {
  display: block;
  font-size: 0.68rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mock-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-top: 4px;
}

.mock-kpi small {
  font-size: 0.7rem;
  color: var(--emerald-400);
}

.mock-bars {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  padding: 14px;
}

.mock-bars-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--slate-300);
  margin-bottom: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 112px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 0.75rem;
  color: var(--slate-300);
}

.bar-row:last-child { margin-bottom: 0; }

.bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
}

.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mock-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--cyan-300);
}

/* Mobile phone frame for CloudSync View mockup */
.phone-preview-wrap {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 16px;
  align-items: stretch;
}

.phone-frame {
  background: #030916;
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 22px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-notch {
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.32);
  margin: 0 auto 4px;
}

.phone-card {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 10px;
}

.phone-card small {
  font-size: 0.65rem;
  color: var(--slate-400);
  display: block;
}

.phone-card strong {
  font-size: 0.98rem;
  color: var(--white);
}

/* ---------- Ecosystem Bento Grid ---------- */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eco-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all 0.24s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.eco-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
}

.eco-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 70%);
  border-color: #bae6fd;
}

.eco-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(0, 102, 230, 0.12));
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--blue-600);
  display: grid;
  place-items: center;
}

.eco-card .eco-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--blue-600);
}

.eco-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-950);
}

.eco-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
  flex: 1;
}

/* ---------- Architecture & AI Section (Dark) ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.arch-card {
  background: rgba(14, 30, 61, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.arch-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
}

.arch-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-400);
  margin-bottom: 10px;
}

.arch-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.arch-card p {
  font-size: 0.94rem;
  color: var(--slate-300);
  margin-bottom: 16px;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--slate-200);
}

/* ---------- Sectors Strip ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.22s ease;
}

.sector-card:hover {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.sector-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #f0f9ff;
  color: var(--blue-600);
  display: grid;
  place-items: center;
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.sector-card p {
  font-size: 0.83rem;
  color: var(--slate-600);
}

/* ---------- About AITECHVZLA & FITELVEN ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
}

.about-copy p {
  color: var(--slate-600);
  margin-bottom: 16px;
  font-size: 1rem;
}

.corp-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.fact-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 14px 16px;
}

.fact-box small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.fact-box strong {
  font-size: 0.92rem;
  color: var(--navy-950);
}

.alliance-card,
.fitelven-card {
  background: linear-gradient(145deg, var(--navy-950) 0%, #0d234a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.alliance-badge,
.fitelven-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--cyan-300);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

.alliance-card h3,
.fitelven-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.alliance-card p,
.fitelven-card p {
  color: var(--slate-300);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.alliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.alliance-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-200);
}

.alliance-list li::before {
  content: '▸';
  color: var(--cyan-400);
  font-weight: 900;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-850) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-info-card > p {
  color: var(--slate-300);
  font-size: 0.94rem;
  margin-bottom: 26px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.channel-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.18);
  color: var(--cyan-300);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.channel-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.channel-item strong,
.channel-item a {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 700;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--slate-300);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 102, 230, 0.12);
}

.modules-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}

.module-chip input {
  display: none;
}

.module-chip.selected {
  background: #e0f2fe;
  border-color: var(--cyan-500);
  color: #0369a1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 64px 0 calc(84px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate-400);
}

/* ---------- Floating WhatsApp CTA ---------- */
.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.52);
}

/* Grid children overflow guard */
.hero-copy,
.hero-visual,
.panel-copy,
.mockup-stage,
.about-copy,
.fitelven-card,
.contact-info-card,
.contact-form-card,
.form-field,
.suite-tab,
.eco-card,
.arch-card {
  min-width: 0;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1080px) {
  .hero-inner,
  .suite-panel,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .eco-card.featured {
    grid-column: span 2;
  }

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

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

@media (max-width: 820px) {
  .container {
    padding: 0 calc(16px + env(safe-area-inset-left, 0px));
  }

  .site-header {
    height: 68px;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .mobile-drawer {
    top: 68px;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-drawer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
    min-height: 46px;
  }

  .hero {
    padding: calc(68px + 28px) 0 54px;
  }

  .hero h1 {
    font-size: 1.9rem;
    line-height: 1.14;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-brand-ribbon {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .ribbon-meta {
    text-align: left;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .suite-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .suite-tab {
    padding: 12px;
    min-height: 74px;
  }

  .suite-tab strong {
    font-size: 0.94rem;
  }

  .suite-tab span.tab-sub {
    font-size: 0.74rem;
  }

  .panel-brand-row,
  .about-brand-header {
    flex-wrap: wrap;
  }

  .arch-grid,
  .feature-list,
  .form-grid,
  .phone-preview-wrap,
  .corp-facts,
  .mock-kpis {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: span 1;
  }

  /* Prevent iOS Safari auto-zoom on form focus (>= 16px) */
  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px;
    min-height: 46px;
  }

  .module-chip {
    min-height: 38px;
    padding: 8px 12px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .suite-panel,
  .contact-info-card,
  .contact-form-card,
  .alliance-card,
.fitelven-card {
    padding: 20px 16px;
  }

  .mockup-stage {
    padding: 16px 14px;
  }

  .bar-row {
    grid-template-columns: 86px 1fr 36px;
    font-size: 0.72rem;
    gap: 8px;
  }

  .eco-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .eco-card.featured {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .float-pill.bottom-right {
    display: none;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }
}


/* ==========================================================================
   MULTI-PAGE CORPORATE COMPONENTS (v2.0)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 56px) 0 64px;
  background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.16), transparent 46%),
              radial-gradient(circle at 85% 30%, rgba(0, 102, 230, 0.2), transparent 48%),
              linear-gradient(180deg, var(--navy-950) 0%, #091834 100%);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--cyan-300);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin-bottom: 14px;
}

.page-hero h1 .accent {
  background: linear-gradient(95deg, #38bdf8 0%, #60a5fa 60%, #e0f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 720px;
}

/* Home Executive Navigation Cards */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.overview-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.24s ease;
  position: relative;
  min-width: 0;
}

.overview-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
}

.overview-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--navy-950);
}

.overview-card p {
  font-size: 0.94rem;
  color: var(--slate-600);
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-top: 6px;
}

.overview-card:hover .card-link {
  color: var(--cyan-500);
}

/* Executive CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, #0b2450 65%, #0a3568 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--slate-300);
  max-width: 600px;
  font-size: 0.98rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Suite Integration Matrix & Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 26px;
  min-width: 0;
}

.roadmap-step {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.roadmap-card h3 {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 0.91rem;
  color: var(--slate-600);
}

/* Detailed Sector Blueprint Cards */
.vertical-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.vertical-detail-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.vertical-detail-card:hover {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
}

.vertical-detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--navy-950);
}

.vertical-detail-card p {
  font-size: 0.93rem;
  color: var(--slate-600);
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.stack-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

/* Values Grid (Nosotros) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
  min-width: 0;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* Responsive adjustments for Multi-Page Components */
@media (max-width: 1024px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 26px;
  }

  .roadmap-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-hero {
    padding: calc(68px + 32px) 0 42px;
  }

  .page-hero h1 {
    font-size: 1.78rem;
  }

  .overview-grid,
  .vertical-detail-grid {
    grid-template-columns: 1fr;
  }

  .overview-card,
  .vertical-detail-card {
    padding: 22px 18px;
  }

  .cta-band {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   AITECH DIGITAL GROWTH 2027 (v3.0) — Dropdowns, Products, Insights, Tools, FAQs
   ========================================================================== */

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--cyan-500);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

/* Desktop Dropdown Navigation */
.nav-item {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active,
.nav-item.open > .nav-dropdown-btn {
  color: var(--white);
}

.nav-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-item.open > .nav-dropdown-btn .nav-caret,
.nav-item:hover > .nav-dropdown-btn .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  min-width: 268px;
  background: rgba(8, 18, 40, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 22px 52px rgba(2, 6, 18, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-item:hover > .nav-dropdown-menu,
.nav-item.open > .nav-dropdown-menu,
.nav-item:focus-within > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--slate-200);
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(14, 165, 233, 0.16);
  color: var(--white);
}

.nav-dropdown-menu a strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white);
}

.nav-dropdown-menu a span {
  font-size: 0.74rem;
  color: var(--slate-400);
  line-height: 1.3;
}

.drawer-group-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cyan-400);
  margin: 14px 0 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.drawer-group-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Product & Sector Grids */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.catalog-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
}

.catalog-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-950);
}

.catalog-card p {
  font-size: 0.91rem;
  color: var(--slate-600);
  flex: 1;
}

/* Product Detail Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-width: 0;
}

.detail-card h2 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 12px;
}

.detail-card p {
  color: var(--slate-600);
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.sticky-aside {
  position: sticky;
  top: calc(var(--nav-height) + 22px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-dark-card {
  background: linear-gradient(145deg, var(--navy-950) 0%, #0d234a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.aside-dark-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.aside-dark-card p {
  color: var(--slate-300);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy-950);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-600);
  font-weight: 800;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 0.93rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

/* Insights Filter Bar & Article Layout */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.83rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-950);
  border-color: var(--navy-950);
  color: var(--white);
}

.article-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: start;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-300);
  margin-top: 16px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--navy-950);
  margin: 26px 0 10px;
  line-height: 1.25;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 18px 0 8px;
}

.article-body p {
  font-size: 1rem;
  color: var(--slate-700);
  margin-bottom: 14px;
  line-height: 1.72;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 20px;
  color: var(--slate-700);
  font-size: 0.98rem;
}

.article-body li {
  margin-bottom: 7px;
  line-height: 1.62;
}

.callout-box {
  background: #f0f9ff;
  border-left: 4px solid var(--blue-600);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--navy-900);
}

/* AITECH Tools Interactive App Shell */
.tool-workspace {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.tool-panel {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.tool-result-card {
  background: linear-gradient(145deg, var(--navy-950) 0%, #0d234a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  min-width: 0;
}

.tool-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.tool-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  padding: 14px;
}

.tool-kpi small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--cyan-300);
  margin-bottom: 4px;
}

.tool-kpi strong {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--white);
  word-break: break-word;
}

.tool-kpi.wide {
  grid-column: span 2;
}

.tool-error {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 600;
}

.tool-error.show {
  display: block;
}

.formula-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.formula-box code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 6px 0;
}

.code-canvas-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin: 16px 0;
  color: var(--navy-950);
}

.code-canvas-box svg {
  max-width: 100%;
  height: auto;
}

/* Honeypot anti-spam field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Notice banner for non-published/draft placeholders */
.status-notice {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 18px 22px;
  color: #0c4a6e;
  font-size: 0.93rem;
  margin-bottom: 28px;
}

/* Responsive v3.0 */
@media (max-width: 1080px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-grid,
  .article-shell,
  .tool-workspace {
    grid-template-columns: 1fr;
  }
  .sticky-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .catalog-grid,
  .tool-kpi-grid {
    grid-template-columns: 1fr;
  }
  .tool-kpi.wide {
    grid-column: span 1;
  }
  .article-body,
  .detail-card,
  .tool-panel,
  .tool-result-card {
    padding: 22px 16px;
  }
}
