/* ==========================================================================
   Unidesire — Premium Static Website
   ========================================================================== */

/* --- CSS Variables --- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0a0e1a;
  --color-bg-elevated: #111827;
  --color-bg-card: rgba(17, 24, 39, 0.6);
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-glow: rgba(204, 78, 0, 0.4);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-accent: #cc4e00;
  --color-accent-light: #e8651a;
  --color-accent-warm: #ff8c42;
  --color-accent-deep: #993800;
  --gradient-primary: linear-gradient(135deg, #cc4e00 0%, #e8651a 50%, #ff8c42 100%);
  --gradient-text: linear-gradient(135deg, #ff8c42, #cc4e00, #e8651a);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(204, 78, 0, 0.2), transparent),
                   radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232, 101, 26, 0.12), transparent),
                   radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 140, 66, 0.1), transparent);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(204, 78, 0, 0.18);
  --header-scrolled-bg: rgba(10, 14, 26, 0.88);
  --nav-mobile-bg: rgba(10, 14, 26, 0.97);
  --overlay-bg: rgba(0, 0, 0, 0.55);
  --hero-grid-color: rgba(255, 255, 255, 0.03);
  --dashboard-bg: rgba(17, 24, 39, 0.78);
  --float-card-bg: rgba(17, 24, 39, 0.88);
  --section-tint: rgba(17, 24, 39, 0.4);
  --logo-glow: drop-shadow(0 4px 24px rgba(204, 78, 0, 0.35));
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-height: 84px;
  --container-max: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  color-scheme: light;
  --color-bg: #f4f6fb;
  --color-bg-elevated: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.88);
  --color-surface: rgba(204, 78, 0, 0.06);
  --color-border: rgba(15, 23, 42, 0.1);
  --color-border-glow: rgba(204, 78, 0, 0.45);
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-dim: #64748b;
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(204, 78, 0, 0.14), transparent),
                   radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232, 101, 26, 0.1), transparent),
                   radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 140, 66, 0.08), transparent);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 36px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 40px rgba(204, 78, 0, 0.14);
  --header-scrolled-bg: rgba(244, 246, 251, 0.94);
  --nav-mobile-bg: rgba(255, 255, 255, 0.98);
  --overlay-bg: rgba(15, 23, 42, 0.35);
  --hero-grid-color: rgba(15, 23, 42, 0.045);
  --dashboard-bg: rgba(255, 255, 255, 0.92);
  --float-card-bg: rgba(255, 255, 255, 0.95);
  --section-tint: rgba(204, 78, 0, 0.04);
  --logo-glow: drop-shadow(0 6px 20px rgba(204, 78, 0, 0.22));
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition), color var(--transition);
}

/* --- Theme Logo Switching --- */
.logo-light {
  display: none;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.gradient-text {
  color: var(--color-accent-warm);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text {
    color: transparent;
  }
}

.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(204, 78, 0, 0.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(204, 78, 0, 0.5);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--color-border-glow);
  background: rgba(204, 78, 0, 0.08);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header--scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
}

.theme-toggle__icon--sun {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: block;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  gap: 2px;
}

.lang-toggle__btn {
  min-width: 38px;
  height: 34px;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-radius: calc(var(--radius-sm) - 2px);
  transition: color var(--transition), background var(--transition), box-shadow var(--transition);
}

.lang-toggle__btn:hover,
.lang-toggle__btn:focus-visible {
  color: var(--color-text);
}

.lang-toggle__btn.is-active {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 2px 10px rgba(204, 78, 0, 0.3);
}

.logo--header .logo__img--header,
.logo__img--header {
  width: auto;
  height: clamp(44px, 7vw, 62px);
  max-width: min(280px, 62vw);
  filter: var(--logo-glow);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: auto;
  object-fit: contain;
}

.logo__img--full {
  width: auto;
  height: clamp(40px, 6.5vw, 56px);
  max-width: min(260px, 58vw);
  filter: var(--logo-glow);
}

.logo__img--icon {
  display: none;
  width: clamp(40px, 9vw, 48px);
  height: clamp(40px, 9vw, 48px);
  filter: var(--logo-glow);
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.footer__logo-img {
  width: auto;
  height: clamp(56px, 9vw, 80px);
  max-width: 380px;
  filter: var(--logo-glow);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav__link--cta {
  margin-left: 0.5rem;
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  box-shadow: 0 4px 16px rgba(204, 78, 0, 0.4);
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

.nav__dropdown-toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.nav__item--dropdown.nav__item--open .nav__dropdown-toggle::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__dropdown-link {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  color: var(--color-text);
  background: var(--color-surface);
}

@media (min-width: 769px) {
  .nav__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    padding: 0.5rem;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 1001;
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown,
  .nav__item--dropdown:hover .nav__dropdown,
  .nav__item--dropdown:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown-toggle,
  .nav__item--dropdown:hover .nav__dropdown-toggle,
  .nav__item--dropdown:focus-within .nav__dropdown-toggle {
    color: var(--color-text);
    background: var(--color-surface);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle--active .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--active .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__watermark-img {
  width: min(72vw, 680px);
  height: auto;
  opacity: 0.055;
  transform: rotate(-8deg) scale(1.05);
  filter: blur(0.3px);
}

[data-theme="light"] .hero__watermark-img {
  opacity: 0.07;
}

.hero__brand {
  margin-bottom: 0.75rem;
}

.hero__tagline {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
  max-width: 28rem;
}

.hero__brand-img {
  width: auto;
  height: clamp(64px, 14vw, 110px);
  max-width: min(420px, 90vw);
  filter: var(--logo-glow);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.shape--1 {
  width: 400px;
  height: 400px;
  background: rgba(204, 78, 0, 0.15);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.shape--2 {
  width: 300px;
  height: 300px;
  background: rgba(232, 101, 26, 0.12);
  top: 50%;
  right: -5%;
  animation-delay: -5s;
}

.shape--3 {
  width: 250px;
  height: 250px;
  background: rgba(255, 140, 66, 0.1);
  bottom: 10%;
  left: 30%;
  animation-delay: -10s;
}

.shape--4 {
  width: 200px;
  height: 200px;
  background: rgba(204, 78, 0, 0.08);
  top: 30%;
  right: 25%;
  animation-delay: -15s;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 78, 0, 0.08), transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 101, 26, 0.06), transparent 70%);
  bottom: 0;
  right: 10%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hero__subtitle--secondary {
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  position: relative;
  min-height: 380px;
  transition: transform 0.15s ease-out;
}

/* Dashboard Illustration */
.dashboard {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: var(--dashboard-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 60px rgba(204, 78, 0, 0.12);
  animation: dashboardFloat 6s ease-in-out infinite;
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dashboard__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: var(--logo-glow);
}

.dashboard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard__dot--red { background: #ef4444; }
.dashboard__dot--yellow { background: #eab308; }
.dashboard__dot--green { background: #22c55e; }

.dashboard__title {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.dashboard__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

.chip--erp { background: rgba(204, 78, 0, 0.15); color: #ff8c42; border-color: rgba(204, 78, 0, 0.35); }
.chip--crm { background: rgba(232, 101, 26, 0.15); color: #e8651a; border-color: rgba(232, 101, 26, 0.35); }
.chip--b2b { background: rgba(255, 140, 66, 0.15); color: #ffb380; border-color: rgba(255, 140, 66, 0.35); }
.chip--report { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }

.dashboard__chart {
  height: 80px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.chart-line {
  width: 100%;
  height: 100%;
}

.chart-stroke {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 2s ease forwards 0.5s;
}

.dashboard__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-mini {
  padding: 0.75rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.stat-mini__label {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat-mini__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--float-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.float-card svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.float-card--1 {
  top: -10px;
  right: -20px;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card--2 {
  bottom: 60px;
  left: -30px;
  animation: floatCard 5s ease-in-out infinite -1.5s;
}

.float-card--3 {
  bottom: -10px;
  right: 40px;
  animation: floatCard 5s ease-in-out infinite -3s;
}

/* --- Sections --- */
.section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__header--left {
  text-align: left;
  margin-inline: 0;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Services --- */
.section--services {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(204, 78, 0, 0.1);
  border: 1px solid rgba(204, 78, 0, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-accent);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Modules --- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.module-card {
  position: relative;
  padding: 1.75rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card--highlight {
  background: rgba(204, 78, 0, 0.06);
}

.module-card--highlight::before {
  opacity: 1;
  animation: borderPulse 3s ease-in-out infinite;
}

.module-card__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.module-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.module-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Why Unidesire --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-list__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 78, 0, 0.15);
  border-radius: 50%;
  color: var(--color-accent);
}

.why-list__check svg {
  width: 14px;
  height: 14px;
}

.why-list__item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.why-list__item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.why-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-orbit {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.service-orbit__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(204, 78, 0, 0.22), transparent 70%);
  border-radius: 50%;
  animation: hubPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.service-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(204, 78, 0, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.service-orbit__ring--1 {
  width: 58%;
  height: 58%;
  animation: ringSpin 28s linear infinite;
}

.service-orbit__ring--2 {
  width: 78%;
  height: 78%;
  border-style: dashed;
  opacity: 0.5;
  animation: ringSpin 40s linear infinite reverse;
}

.service-orbit__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.service-orbit__circle {
  transform-origin: 210px 210px;
  animation: ringDash 12s linear infinite;
}

.service-orbit__spoke {
  stroke: rgba(204, 78, 0, 0.2);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: spokePulse 2.5s ease-in-out infinite;
}

.service-orbit__spoke:nth-of-type(2) { animation-delay: -0.4s; }
.service-orbit__spoke:nth-of-type(3) { animation-delay: -0.8s; }
.service-orbit__spoke:nth-of-type(4) { animation-delay: -1.2s; }
.service-orbit__spoke:nth-of-type(5) { animation-delay: -1.6s; }
.service-orbit__spoke:nth-of-type(6) { animation-delay: -2s; }
.service-orbit__spoke:nth-of-type(7) { animation-delay: -2.4s; }

.service-orbit__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(204, 78, 0, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: translate(-50%, -50%);
  animation: hubFloat 5s ease-in-out infinite;
}

.service-orbit__hub svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.service-orbit__hub span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  white-space: nowrap;
}

.orbit-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: orbitDrift 5s ease-in-out infinite;
}

.orbit-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
  z-index: 4;
  translate: 0 -4px;
}

.orbit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.orbit-card__icon svg {
  width: 18px;
  height: 18px;
}

.orbit-card__icon--erp { background: rgba(204, 78, 0, 0.15); color: #ff8c42; }
.orbit-card__icon--crm { background: rgba(232, 101, 26, 0.15); color: #e8651a; }
.orbit-card__icon--b2b { background: rgba(255, 140, 66, 0.15); color: #ffb380; }
.orbit-card__icon--admin { background: rgba(204, 78, 0, 0.12); color: #ff8c42; }
.orbit-card__icon--web { background: rgba(232, 101, 26, 0.12); color: #e8651a; }
.orbit-card__icon--api { background: rgba(255, 140, 66, 0.12); color: #ffb380; }

.orbit-card__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.orbit-card--1 {
  top: 4%;
  left: 2%;
  rotate: -8deg;
  animation-delay: 0s;
}

.orbit-card--2 {
  top: 8%;
  right: 0;
  rotate: 6deg;
  animation-delay: -0.8s;
}

.orbit-card--3 {
  top: 38%;
  left: -4%;
  rotate: 4deg;
  animation-delay: -1.6s;
}

.orbit-card--4 {
  top: 42%;
  right: -6%;
  rotate: -5deg;
  animation-delay: -2.4s;
}

.orbit-card--5 {
  bottom: 8%;
  left: 6%;
  rotate: -4deg;
  animation-delay: -3.2s;
}

.orbit-card--6 {
  bottom: 4%;
  right: 4%;
  rotate: 7deg;
  animation-delay: -4s;
}

.why-visual.reveal .orbit-card {
  opacity: 0;
  scale: 0.85;
}

.why-visual.reveal--visible .orbit-card {
  animation: orbitDrift 5s ease-in-out infinite, orbitCardIn 0.6s ease forwards;
}

.why-visual.reveal--visible .orbit-card--1 { animation-delay: 0.1s, 0.1s; }
.why-visual.reveal--visible .orbit-card--2 { animation-delay: -0.8s, 0.2s; }
.why-visual.reveal--visible .orbit-card--3 { animation-delay: -1.6s, 0.3s; }
.why-visual.reveal--visible .orbit-card--4 { animation-delay: -2.4s, 0.4s; }
.why-visual.reveal--visible .orbit-card--5 { animation-delay: -3.2s, 0.5s; }
.why-visual.reveal--visible .orbit-card--6 { animation-delay: -4s, 0.6s; }

.why-visual.reveal--visible .service-orbit__hub {
  animation: hubFloat 5s ease-in-out infinite, orbitCardIn 0.7s ease 0.05s forwards;
}

.why-visual.reveal .service-orbit__hub {
  opacity: 0;
  scale: 0.9;
}

/* --- Process Timeline --- */
.section--process {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-light), transparent);
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-accent);
  z-index: 1;
  box-shadow: 0 0 20px rgba(204, 78, 0, 0.2);
}

.timeline__content {
  flex: 1;
  padding: 1.5rem;
}

.timeline__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline__content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --- Technologies --- */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-tag {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  animation: tagFadeIn 0.5s ease backwards;
}

.tech-tag:nth-child(1) { animation-delay: 0.05s; }
.tech-tag:nth-child(2) { animation-delay: 0.1s; }
.tech-tag:nth-child(3) { animation-delay: 0.15s; }
.tech-tag:nth-child(4) { animation-delay: 0.2s; }
.tech-tag:nth-child(5) { animation-delay: 0.25s; }
.tech-tag:nth-child(6) { animation-delay: 0.3s; }
.tech-tag:nth-child(7) { animation-delay: 0.35s; }
.tech-tag:nth-child(8) { animation-delay: 0.4s; }

.tech-tag:hover {
  transform: translateY(-2px);
  color: var(--color-text);
  border-color: var(--color-border-glow);
  box-shadow: 0 4px 16px rgba(204, 78, 0, 0.15);
}

/* --- Intro --- */
.section--intro {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.intro-box {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.intro-box__title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.intro-box__text {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.intro-box__text:last-child {
  margin-bottom: 0;
}

/* --- Why Unidesire (section) --- */
.why-list--section {
  max-width: 720px;
  margin-inline: auto;
}

.why-list--section .why-list__item strong {
  font-size: 1.0625rem;
}

.why-list--section .why-list__item p {
  font-size: 0.9375rem;
}

/* --- Solutions --- */
.section--solutions {
  background: linear-gradient(180deg, transparent, var(--section-tint) 50%, transparent);
}

.platform-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  border-color: var(--color-border-glow);
}

.platform-banner__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.platform-banner__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.platform-banner__content p {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.platform-banner__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.platform-banner__features li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.platform-banner__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.solutions-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.solution-card--compact {
  padding: 1.5rem;
}

.solution-card--compact .solution-card__desc {
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.offerings-strip,
.industries-strip {
  margin-top: 2rem;
  text-align: center;
}

.offerings-strip__label,
.industries-strip__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 1rem;
}

.offerings-strip__tags,
.industries-strip__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

.industries-strip {
  margin-top: 1.25rem;
}

/* --- UDT Platform (Product) --- */
.section--product {
  background: linear-gradient(180deg, transparent, rgba(204, 78, 0, 0.06) 40%, transparent);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 2.5rem);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
}

.product-showcase__main p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.product-showcase__lead {
  font-size: 1.0625rem !important;
  color: var(--color-text) !important;
  font-weight: 500;
}

.product-showcase__cta {
  margin-top: 1.25rem;
}

.product-showcase__features-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.product-showcase__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.product-showcase__list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.product-showcase__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.solution-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.solution-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.solution-card__desc {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.solution-card__scope-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.solution-card__scope {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.solution-card__scope li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.solution-card__scope li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* --- Process (compact) --- */
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  counter-reset: none;
}

.process-step {
  padding: 1.5rem;
}

.process-step__num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Contact FAQ --- */
.contact-faq {
  margin-top: 2.5rem;
  max-width: 820px;
  margin-inline: auto;
}

.contact-faq__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 1rem 1.5rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}

/* --- Contact --- */
.contact-box {
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204, 78, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.contact-box__header {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-box__header .section__title {
  margin-bottom: 1rem;
}

.contact-box__lead {
  position: relative;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.contact-box__lead:last-of-type {
  margin-bottom: 0;
}

.contact-form {
  position: relative;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: left;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-field--full {
  grid-column: 1 / span 2;
}

.form-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-field__optional {
  font-weight: 400;
  color: var(--color-text-dim);
  font-size: 0.8125rem;
}

.form-field__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field__input::placeholder {
  color: var(--color-text-dim);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-border-glow);
  box-shadow: 0 0 0 3px rgba(204, 78, 0, 0.15);
}

.form-field__textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form__status {
  font-size: 0.9375rem;
  margin: 0;
  min-height: 1.25rem;
}

.contact-form__status--success {
  color: #4ade80;
}

.contact-form__status--error {
  color: #f87171;
}

.contact-form__status--sending {
  color: var(--color-text-muted);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.contact-card {
  display: block;
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

a.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 78, 0, 0.1);
  border: 1px solid rgba(204, 78, 0, 0.2);
  border-radius: 50%;
  color: var(--color-accent);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-card__value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}

/* --- Footer --- */
.footer {
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--section-tint);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  max-width: 400px;
  line-height: 1.65;
}

.footer__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

html.js .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

html.js .hero .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.js .hero .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Nested reveals: parent visible => children visible (Edge IO fix) */
html.js .reveal--visible .reveal {
  opacity: 1;
  transform: none;
}

.hero__content .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.17s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero__visual.reveal { transition-delay: 0.42s; }

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-hero);
}

.page-404__inner {
  max-width: 480px;
}

.page-404__logo {
  display: inline-flex;
  margin-bottom: 2rem;
}

.page-404__logo .logo__img--header {
  height: clamp(44px, 10vw, 64px);
  max-width: 280px;
  filter: var(--logo-glow);
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.page-404__code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-404__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-404__desc {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* --- Keyframes --- */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes hubFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

@keyframes ringSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringDash {
  to { stroke-dashoffset: -32; }
}

@keyframes spokePulse {
  0%, 100% { stroke-opacity: 0.15; }
  50% { stroke-opacity: 0.45; }
}

@keyframes orbitDrift {
  0%, 100% { translate: 0 0; }
  33% { translate: 4px -6px; }
  66% { translate: -3px 5px; }
}

@keyframes orbitCardIn {
  from {
    opacity: 0;
    scale: 0.85;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__brand {
    display: flex;
    justify-content: center;
  }

  .hero__tagline {
    margin-inline: auto;
  }

  .hero__subtitle,
  .hero__subtitle--secondary {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .platform-banner,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .why-visual {
    min-height: 340px;
    max-width: 360px;
    margin-inline: auto;
    order: -1;
  }

  .orbit-card {
    padding: 0.5rem 0.75rem;
  }

  .orbit-card__label {
    font-size: 0.75rem;
  }

  .orbit-card--3 { left: 0; }
  .orbit-card--4 { right: 0; }

  .section__header--left {
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__desc {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--nav-mobile-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav__link {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav__item--dropdown {
    width: 100%;
  }

  .nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav__dropdown {
    display: none;
    padding: 0.25rem 0 0.5rem 0.75rem;
  }

  .nav__item--dropdown.nav__item--open .nav__dropdown {
    display: block;
  }

  .nav__dropdown-link {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .menu-toggle {
    display: flex;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 998;
  }

  .overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  .float-card--1 { right: 0; }
  .float-card--2 { left: 0; }

  .timeline::before {
    left: 19px;
  }

  .timeline__marker {
    width: 40px;
    height: 40px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .logo__img--header {
    height: clamp(38px, 11vw, 48px);
    max-width: min(220px, 72vw);
  }

  .hero__brand-img {
    height: clamp(52px, 16vw, 72px);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: 1;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__footer .btn {
    width: 100%;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .why-visual.reveal .orbit-card,
  .why-visual.reveal .service-orbit__hub {
    opacity: 1;
    scale: 1;
  }

  .hero__canvas {
    display: none;
  }

  .chart-stroke {
    stroke-dashoffset: 0;
  }
}

/* Backdrop-filter fallback (Edge / older browsers) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card,
  .contact-box {
    background: var(--color-bg-elevated);
  }

  @media (min-width: 769px) {
    .nav__dropdown {
      background: var(--color-bg-elevated);
    }
  }
}
