@font-face {
  font-family: "TajawalLocal";
  src: url("../fonts/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c0d0f;
  --ink-soft: #1a1c20;
  --paper: #f6f3ee;
  --paper-2: #ebe6de;
  --line: rgba(12, 13, 15, 0.12);
  --muted: #5c616b;
  --red: #c8102e;
  --red-deep: #9a0c22;
  --sand: #d4c4a8;
  --teal: #0f5c5c;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(12, 13, 15, 0.14);
  --radius: 18px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ar: "Tajawal", "TajawalLocal", "IBM Plex Sans Arabic", sans-serif;
  --font-en: "Syne", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(200, 16, 46, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(15, 92, 92, 0.07), transparent 50%),
    linear-gradient(180deg, #f8f5f0 0%, var(--paper) 40%, #f3efe8 100%);
  font-family: var(--font-ar);
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-en {
  font-family: var(--font-en);
}

body.is-en .hero-brand > .en,
body.is-en .brand .en {
  display: none;
}

body.is-en .hero-brand,
body.is-en .section-head h2,
body.is-en .product-copy h3,
body.is-en .brand {
  font-family: var(--font-en);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.lang-switch:hover {
  background: #fff;
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-1px);
}

html[dir="ltr"] .feature-list li {
  flex-direction: row;
}

html[dir="ltr"] .feature-list li::before {
  margin-top: 0.45rem;
}

html[dir="ltr"] .trust li {
  border-right: 0;
  border-left: 3px solid var(--red);
  padding-right: 0;
  padding-left: 1rem;
}

html[dir="ltr"] .whatsapp-float {
  left: auto;
  right: 1.1rem;
}

html[dir="ltr"] .product-tab,
html[dir="ltr"] .product-tab-body {
  text-align: left;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.en {
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}

/* Nav */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0.18) 70%, transparent 100%);
}

.site-header.is-scrolled {
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  transition: color 0.25s;
}

.site-header.is-scrolled .brand {
  color: var(--ink);
  text-shadow: none;
}

.brand img {
  width: auto;
  height: 46px;
  max-width: 120px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.brand span.en {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.1rem;
  transition: color 0.25s;
}

.site-header.is-scrolled .brand span.en {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s, color 0.25s, text-shadow 0.25s;
}

.nav-links a:hover {
  opacity: 1;
  color: #fff;
}

.site-header.is-scrolled .nav-links a {
  color: var(--ink-soft);
  text-shadow: none;
  font-weight: 500;
}

.site-header.is-scrolled .nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.nav-cta:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-cta {
  background: var(--ink);
}

.site-header.is-scrolled .nav-cta:hover {
  background: var(--red);
}

.site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.site-header:not(.is-scrolled) .lang-switch:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
}

.site-header:not(.is-scrolled) .menu-toggle span {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.35) 0%, rgba(8, 9, 12, 0.55) 45%, rgba(8, 9, 12, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 9, 12, 0.55), transparent 55%);
}

.hero-content {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 0 4.5rem;
}

.hero-brand {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.hero-brand .en {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.hero-line {
  width: min(100%, 42rem);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.hero-sub {
  width: min(100%, 36rem);
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-deep);
}

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

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

/* Sections */
section {
  padding: 5.5rem 0;
}

#zatca {
  padding-top: 2.5rem;
}

/* ERP Spotlight */
.erp-spotlight {
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.04) 0%, transparent 42%);
}

.erp-spotlight-head {
  max-width: 52rem;
  margin-bottom: 2.5rem;
}

.erp-spotlight-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
}

.erp-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.erp-tag {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 700;
}

.erp-cloud-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.erp-cloud-note a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.erp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.erp-stat {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  text-align: center;
}

.erp-stat strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.erp-stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.erp-spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.erp-visual {
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow);
}

.erp-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.erp-benefits {
  display: grid;
  gap: 1rem;
}

.erp-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
}

.erp-benefit-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  opacity: 0.85;
}

.erp-benefit h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.erp-benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.erp-modules {
  margin-bottom: 2rem;
}

.erp-modules h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.erp-modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.erp-module {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.erp-module:hover {
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-2px);
}

.erp-module h4 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--red);
}

.erp-module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.erp-trial {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.erp-trial h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.erp-trial-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.erp-trial-list li {
  padding-right: 1rem;
  border-right: 3px solid var(--red);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

html[dir="ltr"] .erp-trial-list li {
  padding-right: 0;
  padding-left: 1rem;
  border-right: 0;
  border-left: 3px solid var(--red);
}

.erp-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}

.erp-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.erp-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.92rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Products */
.product-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.25rem;
}

.product-visual {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
  transform: scale(1.04);
}

.product-visual img.is-active {
  opacity: 1;
  transform: scale(1);
}

.product-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.product-copy p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.product-link[hidden] {
  display: none;
}

.product-tab {
  display: flex;
  flex-direction: column;
  text-align: right;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.product-tab:hover,
.product-tab.is-active {
  border-color: rgba(200, 16, 46, 0.45);
  background: #fff;
  transform: translateY(-1px);
}

.product-tab-body {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.6rem 0.65rem;
  text-align: inherit;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.product-tab-body strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.25;
}

.product-tab-body span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.product-tab-visit {
  display: block;
  padding: 0.38rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(200, 16, 46, 0.05);
  transition: background 0.2s;
}

.product-tab-visit:hover {
  background: rgba(200, 16, 46, 0.12);
}

.product-tab-visit[hidden] {
  display: none;
}

/* Reels */
.reels-wrap {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reels-wrap::-webkit-scrollbar {
  height: 8px;
}

.reels-wrap::-webkit-scrollbar-thumb {
  background: rgba(12, 13, 15, 0.18);
  border-radius: 999px;
}

.reel {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.reel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: reelKenBurns 14s ease-in-out infinite alternate;
  will-change: transform;
}

.reel--motion-alt .reel-media {
  animation-name: reelKenBurnsAlt;
  animation-duration: 16s;
}

@keyframes reelKenBurns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}

@keyframes reelKenBurnsAlt {
  from { transform: scale(1.1) translate3d(-1.5%, 0, 0); }
  to { transform: scale(1.2) translate3d(1.5%, -2%, 0); }
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.reel-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.reel-caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.reel-caption span {
  font-size: 0.86rem;
  opacity: 0.86;
}

@media (prefers-reduced-motion: reduce) {
  .reel-media {
    animation: none;
    transform: scale(1.05);
  }
}

/* Sectors */
.sector-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sector {
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  color: #fff;
  isolation: isolate;
}

.sector img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}

.sector:hover img {
  transform: scale(1.08);
}

.sector::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 9, 12, 0.82));
}

.sector-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.2rem;
}

.sector h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.sector p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.85;
}

/* Services */
.service-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 981px) {
  .service-flow .service-item:nth-child(4),
  .service-flow .service-item:nth-child(5) {
    grid-column: span 1;
  }
}

.service-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.service-num {
  display: block;
  font-family: var(--font-en);
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* Trust / ZATCA */
.trust {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}

.trust-zatca-logo {
  display: block;
  width: 100%;
  max-width: min(100%, 420px);
  height: auto;
  margin-inline: auto;
}

.trust h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.trust p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.trust li {
  padding-right: 1rem;
  border-right: 3px solid var(--red);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.about-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  max-height: 420px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-en);
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Clients */
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
}

.clients-track img {
  height: 94px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.75;
  transition: filter 0.25s, opacity 0.25s;
}

.clients-track img:hover {
  filter: none;
  opacity: 1;
}

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

/* Contact */
.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.contact-panel {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-meta a,
.contact-meta span {
  display: block;
}

.contact-meta strong {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(200, 16, 46, 0.45);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid .brand {
  color: var(--ink);
  text-shadow: none;
}

.footer-grid .brand span.en {
  color: var(--ink-soft);
}

.footer-grid .brand img {
  height: 52px;
  max-width: 140px;
}

.footer-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  color: #fff;
  display: block;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 1rem auto;
    background: rgba(246, 243, 238, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    color: var(--ink-soft) !important;
    text-shadow: none !important;
  }

  .nav-links.is-open { display: flex; }

  .nav-cta { display: none; }

  .nav-actions {
    gap: 0.4rem;
  }

  .product-stage,
  .about-grid,
  .erp-spotlight-grid,
  .erp-trial,
  .trust,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .product-tab-body {
    padding: 0.55rem 0.6rem;
  }

  .product-tab-body strong {
    font-size: 0.78rem;
  }

  .product-tab-body span {
    font-size: 0.68rem;
  }

  .sector-strip {
    grid-template-columns: 1fr 1fr;
  }

  .service-flow {
    grid-template-columns: 1fr;
  }

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

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

  .erp-actions {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .sector-strip { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 3rem; }
  .product-visual { min-height: 280px; }
  .erp-stats { grid-template-columns: 1fr 1fr; }
  .erp-modules-grid { grid-template-columns: 1fr; }
  .erp-visual,
  .erp-visual img { min-height: 260px; }
}
