/* =============================================================
   eSolved MSC Sdn Bhd — Main Stylesheet
   style.css
   ============================================================= */

/* ── GOOGLE FONTS imported in HTML <link> ── */

/* ── CSS VARIABLES ── */
:root {
  --orange:  #E8541C;
  --blue:    #1B6BB0;
  --blue-lt: #5BA8E8;
  --dark:    #0D0F14;
  --dark2:   #13161E;
  --dark3:   #1A1E29;
  --muted:   #8892A4;
  --light:   #EEF1F7;
  --white:   #FFFFFF;
  --border:  rgba(255, 255, 255, 0.07);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* =============================================================
   NAVIGATION
   ============================================================= */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-nav.scrolled {
  background: rgba(13, 15, 20, 0.97);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  transform: scaleX(-1);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.nav-logo-text .accent {
  color: var(--orange);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

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

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: opacity var(--transition);
}

.nav-links .nav-cta:hover {
  opacity: 0.88;
  color: var(--white);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13, 15, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 5% 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}

.nav-drawer.open {
  display: flex;
}

.nav-drawer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

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

.nav-drawer .nav-cta-mobile {
  margin-top: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  border-bottom: none;
}

/* =============================================================
   TYPOGRAPHY HELPERS
   ============================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-heading {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.page-heading {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.section-heading {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
}

.card-heading {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
}

.em-orange { color: var(--orange); font-style: normal; }
.em-blue   { color: var(--blue-lt); font-style: normal; }

/* =============================================================
   SECTION LABELS
   ============================================================= */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-label--blue {
  color: var(--blue-lt);
}

.section-label--blue::before {
  background: var(--blue-lt);
}

.section-label--center {
  display: flex;
  justify-content: center;
}

/* =============================================================
   BREADCRUMB
   ============================================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  font-weight: 400;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb__current {
  color: var(--white);
}

.breadcrumb__sep {
  color: rgba(136, 146, 164, 0.4);
}

/* =============================================================
   BADGES & PILLS
   ============================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 84, 28, 0.1);
  border: 1px solid rgba(232, 84, 28, 0.25);
  color: var(--orange);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge--pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}

.chip {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

.chip--orange {
  background: rgba(232, 84, 28, 0.12);
  border-color: rgba(232, 84, 28, 0.22);
  color: var(--orange);
}

.chip--blue {
  background: rgba(27, 107, 176, 0.12);
  border-color: rgba(27, 107, 176, 0.22);
  color: var(--blue-lt);
}

/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(232, 84, 28, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(232, 84, 28, 0.42);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 500;
}

.btn--outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

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

/* =============================================================
   PAGE HERO (shared across inner pages)
   ============================================================= */

.page-hero {
  padding: 160px 5% 100px;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 80%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero__desc {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* =============================================================
   FOOTER
   ============================================================= */

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 5% 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}

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

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 300;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(136, 146, 164, 0.6);
  font-weight: 300;
}

/* =============================================================
   CTA STRIP (reused across pages)
   ============================================================= */

.cta-strip {
  padding: 80px 5%;
  background: var(--dark2);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(232, 84, 28, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(27, 107, 176, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-strip__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-strip h2 {
  font-size: clamp(26px, 4vw, 44px);
  margin-bottom: 16px;
}

.cta-strip p {
  color: var(--muted);
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-strip__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================================
   ANIMATIONS / KEYFRAMES
   ============================================================= */

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

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

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

/* =============================================================
   ── HOME PAGE ──
   ============================================================= */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(27, 107, 176, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232, 84, 28, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, #0D0F14 0%, #0f1420 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__badge {
  animation: fadeUp 0.6s ease both;
}

.hero__heading {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* Stats bar */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 40px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}

.stat-number .accent  { color: var(--orange); }
.stat-number .accent2 { color: var(--blue-lt); }

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Services section */
.services-section {
  padding: 100px 5%;
  background: var(--dark);
}

.services-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.services-section__header .section-heading {
  margin-bottom: 0;
}

.services-section__desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--dark2);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  background: var(--dark3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  background: rgba(232, 84, 28, 0.1);
  border: 1px solid rgba(232, 84, 28, 0.15);
}

.service-card--blue .service-card__icon {
  background: rgba(27, 107, 176, 0.1);
  border-color: rgba(27, 107, 176, 0.15);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* Products section */
.products-section {
  padding: 100px 5%;
  background: var(--dark2);
}

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

.product-card {
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark3);
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: rgba(232, 84, 28, 0.3);
  transform: translateY(-4px);
}

.product-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 84, 28, 0.12) 0%, rgba(13, 15, 20, 0) 60%), var(--dark3);
}

.product-card--wide {
  grid-column: span 2;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: rgba(232, 84, 28, 0.15);
  color: var(--orange);
  border: 1px solid rgba(232, 84, 28, 0.2);
}

.product-tag--blue {
  background: rgba(27, 107, 176, 0.15);
  color: var(--blue-lt);
  border-color: rgba(27, 107, 176, 0.2);
}

.product-card h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.product-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.product-stats-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.product-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.product-stat-lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
}

.product-features li::before {
  content: '→';
  color: var(--orange);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Case studies (homepage) */
.casestudies-section {
  padding: 100px 5%;
  background: var(--dark);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
  cursor: default;
}

.case-card:hover {
  border-color: rgba(27, 107, 176, 0.35);
  transform: translateY(-4px);
}

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

.case-card__top {
  padding: 36px 32px 28px;
  flex: 1;
}

.case-industry {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 14px;
}

.case-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.case-card h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.case-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.case-card__body {
  padding: 0 32px 24px;
  flex: 1;
}

.case-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.case-card__footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.case-result-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.case-result-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

/* Clients ticker */
.clients-section {
  padding: 80px 5%;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

.clients-scroll-container {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.client-logo {
  padding: 16px 40px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Why us */
.whyus-section {
  padding: 100px 5%;
  background: var(--dark);
}

.whyus-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.whyus-visual {
  position: relative;
}

.whyus-big-number {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  user-select: none;
  letter-spacing: -0.05em;
}

.whyus-badge-group {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;
}

.whyus-badge {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.whyus-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232, 84, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.whyus-badge__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
}

.whyus-badge__sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.reason__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  width: 28px;
  flex-shrink: 0;
  padding-top: 3px;
}

.reason h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reason p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* =============================================================
   ── SERVICES PAGE ──
   ============================================================= */

.service-subnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(19, 22, 30, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.service-subnav__inner {
  display: flex;
  padding: 0 5%;
  min-width: max-content;
}

.service-subnav__item {
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  display: block;
}

.service-subnav__item:hover {
  color: var(--white);
}

.service-subnav__item.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Service sections */
.svc-section {
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 130px;
}

.svc-section:nth-child(odd)  { background: var(--dark); }
.svc-section:nth-child(even) { background: var(--dark2); }

/* Two-col layout (shared) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col--reversed .two-col__visual {
  order: -1;
}

.section-intro {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 48px;
}

/* Feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.feature-item:hover {
  border-color: rgba(232, 84, 28, 0.2);
  background: rgba(232, 84, 28, 0.04);
}

.feature-item--blue:hover {
  border-color: rgba(27, 107, 176, 0.2);
  background: rgba(27, 107, 176, 0.04);
}

.feature-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 84, 28, 0.1);
  border: 1px solid rgba(232, 84, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-item__icon--blue {
  background: rgba(27, 107, 176, 0.1);
  border-color: rgba(27, 107, 176, 0.15);
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Visual panel */
.visual-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark3);
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-panel--blue {
  background: linear-gradient(135deg, rgba(27, 107, 176, 0.08), var(--dark3));
  border-color: rgba(27, 107, 176, 0.15);
}

.visual-panel--orange {
  background: linear-gradient(135deg, rgba(232, 84, 28, 0.07), var(--dark3));
}

.visual-panel__inner {
  padding: 48px;
  width: 100%;
}

.visual-stat-big {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}

.visual-stat-big--blue {
  color: var(--blue-lt);
}

.visual-stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 32px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud__tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.tag-cloud__tag--active-orange {
  background: rgba(232, 84, 28, 0.12);
  border-color: rgba(232, 84, 28, 0.25);
  color: var(--orange);
}

.tag-cloud__tag--active-blue {
  background: rgba(27, 107, 176, 0.12);
  border-color: rgba(27, 107, 176, 0.25);
  color: var(--blue-lt);
}

/* App grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
}

.app-card:hover {
  border-color: rgba(232, 84, 28, 0.2);
  transform: translateY(-3px);
}

.app-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.app-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.app-card p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.app-card__tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--orange);
}

/* Website portfolio cards */
.web-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.web-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark3);
  transition: border-color var(--transition), transform var(--transition);
}

.web-item:hover {
  border-color: rgba(27, 107, 176, 0.3);
  transform: translateY(-3px);
}

.web-item__bar {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.web-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.web-item__url {
  font-size: 11px;
  color: var(--muted);
  margin-left: 4px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.web-item__content {
  padding: 20px;
}

.web-item__industry {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-lt);
  margin-bottom: 8px;
}

.web-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.web-item p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* RPA layout */
.rpa-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--blue-lt));
}

.timeline__item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--dark2);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 1;
}

.timeline__item:last-child .timeline__dot {
  border-color: var(--blue-lt);
}

.timeline__body {
  padding-top: 8px;
}

.timeline__body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline__body p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.rpa-stat-panel {
  background: var(--dark3);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 40px;
}

.rpa-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.rpa-state {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.rpa-state__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.rpa-state__num--red   { color: #E85454; }
.rpa-state__num--green { color: #54C87A; }

.rpa-state__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.rpa-arrow {
  font-size: 24px;
  color: var(--orange);
  font-weight: 800;
  text-align: center;
}

.rpa-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* =============================================================
   ── PRODUCTS PAGE ──
   ============================================================= */

.product-section {
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 90px;
}

.product-section:nth-child(odd)  { background: var(--dark); }
.product-section:nth-child(even) { background: var(--dark2); }

.product-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 64px;
}

.product-desc {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 28px;
}

.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.stat-block__num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-block__lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  margin-top: 4px;
}

.product-visual {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--dark3);
  overflow: hidden;
}

.product-visual--blue {
  background: linear-gradient(135deg, rgba(27, 107, 176, 0.08), var(--dark3));
  border-color: rgba(27, 107, 176, 0.15);
}

.product-visual__inner {
  padding: 40px;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color var(--transition), background var(--transition);
}

.feature-card:hover {
  border-color: rgba(232, 84, 28, 0.2);
  background: rgba(232, 84, 28, 0.04);
}

.feature-card__icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.award-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}

.award-badge__icon {
  font-size: 20px;
}

.award-badge__text {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
}

.award-badge__text strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

.platform-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}

.platform-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--light);
}

.pos-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pos-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pos-feature__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 8px;
  flex-shrink: 0;
}

.pos-feature p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.pos-feature p strong {
  color: var(--white);
  font-weight: 500;
}

/* Sell.live flow */
.sell-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 32px;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange) 0%, rgba(232, 84, 28, 0.2) 100%);
}

.flow-step {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.flow-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark3);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
  z-index: 1;
}

.flow-step__body {
  padding-top: 8px;
}

.flow-step__body h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-step__body p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Youniverse */
.youniverse-section {
  background: linear-gradient(135deg, #0a0b10 0%, #0e1020 50%, #0d0f14 100%) !important;
}

.meta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.meta-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(27, 107, 176, 0.08));
  padding: 40px;
  text-align: center;
}

.meta-tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #a855f7, var(--blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meta-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.meta-support-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 8px;
  text-align: center;
}

.meta-support-item__icon {
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}

.meta-support-item__label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.meta-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meta-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(168, 85, 247, 0.1);
  transition: border-color var(--transition);
}

.meta-feature:hover {
  border-color: rgba(168, 85, 247, 0.25);
}

.meta-feature__icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.meta-feature h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.meta-feature p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.meta-tech-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

.meta-tech-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-tech {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #a855f7;
  background: rgba(168, 85, 247, 0.08);
}

/* =============================================================
   ── PORTFOLIO PAGE ──
   ============================================================= */

.featured-case {
  padding: 80px 5%;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}

.featured-case__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.featured-outcomes {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}

.outcome-item__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.outcome-item p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.outcome-item p strong {
  color: var(--white);
  font-weight: 500;
}

.featured-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.featured-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.featured-stat__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.featured-stat__num--green {
  color: #54C87A;
}

.featured-stat__lbl {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.cases-section {
  padding: 60px 5% 100px;
  background: var(--dark);
}

.category-divider {
  padding: 48px 0 16px;
}

.category-divider__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-divider__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =============================================================
   ── ABOUT PAGE ──
   ============================================================= */

.story-section {
  padding: 100px 5%;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-text p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-text p strong {
  color: var(--white);
  font-weight: 500;
}

.story-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-stat {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.story-stat__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.story-stat__num--blue {
  color: var(--blue-lt);
}

.story-stat__text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

.story-stat__text strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Timeline */
.timeline-section {
  padding: 100px 5%;
  background: var(--dark);
}

.timeline-outer {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), rgba(232, 84, 28, 0.1));
  transform: translateX(-50%);
}

.timeline-items {
  display: flex;
  flex-direction: column;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  padding-bottom: 48px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-left {
  text-align: right;
  padding-right: 36px;
  padding-top: 8px;
}

.tl-right {
  padding-left: 36px;
  padding-top: 8px;
}

.tl-center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.tl-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark2);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.tl-year {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.tl-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-desc {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* Team */
.team-section {
  padding: 100px 5%;
  background: var(--dark2);
  scroll-margin-top: 90px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark3);
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(232, 84, 28, 0.3);
  transform: translateY(-4px);
}

.team-card__avatar {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card__avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}

.team-card__body {
  padding: 28px 28px 32px;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.team-card__bio {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.team-card__highlights {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

.team-card__highlight::before {
  content: '→';
  color: var(--orange);
  flex-shrink: 0;
  font-size: 11px;
}

/* Values */
.values-section {
  padding: 100px 5%;
  background: var(--dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.value-card {
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), background var(--transition);
}

.value-card:hover {
  border-color: rgba(232, 84, 28, 0.2);
  background: rgba(232, 84, 28, 0.03);
}

.value-card__icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Awards */
.awards-section {
  padding: 80px 5%;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.award-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: border-color var(--transition);
}

.award-card:hover {
  border-color: rgba(232, 84, 28, 0.2);
}

.award-card__icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.award-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.award-card__from {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Offices */
.offices-section {
  padding: 100px 5%;
  background: var(--dark);
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.office-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: border-color var(--transition);
}

.office-card:hover {
  border-color: rgba(232, 84, 28, 0.2);
}

.office-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.office-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.office-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  align-items: flex-start;
}

.office-detail__icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================================
   ── CONTACT PAGE ──
   ============================================================= */

.contact-section {
  padding: 80px 5% 100px;
  background: var(--dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 36px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0.02em;
}

.form-group label .required {
  color: var(--orange);
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-control::placeholder {
  color: rgba(136, 146, 164, 0.5);
}

.form-control:focus {
  border-color: var(--orange);
  background: rgba(232, 84, 28, 0.04);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892A4' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option {
  background: var(--dark2);
  color: var(--white);
}

.form-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  padding: 16px 28px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 28px rgba(232, 84, 28, 0.28);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(232, 84, 28, 0.38);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success__icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--dark2);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.contact-method:hover {
  border-color: rgba(232, 84, 28, 0.2);
}

.contact-method__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232, 84, 28, 0.1);
  border: 1px solid rgba(232, 84, 28, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.contact-method__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.contact-method__value a {
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-method__value a:hover {
  color: var(--orange);
}

.contact-method__sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}

.offices-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-mini {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--dark2);
  border: 1px solid var(--border);
}

.office-mini__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 6px;
}

.office-mini__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.office-mini__addr {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Process steps */
.expect-section {
  padding: 80px 5%;
  background: var(--dark2);
  border-top: 1px solid var(--border);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.expect-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.expect-step {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: rgba(232, 84, 28, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.expect-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.expect-card p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

/* =============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================= */

@media (max-width: 1024px) {

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

  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .products-grid           { grid-template-columns: 1fr; }
  .product-card--featured  { grid-column: span 1; grid-template-columns: 1fr; }
  .product-card--wide      { grid-column: span 1; }
  .product-hero-layout     { grid-template-columns: 1fr; gap: 48px; }

  /* Cases */
  .cases-grid              { grid-template-columns: repeat(2, 1fr); }
  .case-card--featured     { grid-column: span 2; }

  /* Two col layouts */
  .two-col                 { grid-template-columns: 1fr; gap: 48px; }
  .two-col--reversed .two-col__visual { order: 0; }

  /* Why us */
  .whyus-layout            { grid-template-columns: 1fr; gap: 48px; }

  /* About */
  .story-layout            { grid-template-columns: 1fr; gap: 48px; }
  .team-grid               { grid-template-columns: repeat(2, 1fr); }
  .values-grid             { grid-template-columns: repeat(2, 1fr); }
  .awards-grid             { grid-template-columns: repeat(2, 1fr); }
  .offices-grid            { grid-template-columns: 1fr; }

  /* Portfolio */
  .featured-case__inner    { grid-template-columns: 1fr; gap: 48px; }
  .featured-stats          { grid-template-columns: repeat(2, 1fr); }

  /* Products page specific */
  .sell-layout             { grid-template-columns: 1fr; gap: 48px; }
  .meta-layout             { grid-template-columns: 1fr; gap: 48px; }
  .rpa-layout              { grid-template-columns: 1fr; gap: 48px; }

  /* Contact */
  .contact-layout          { grid-template-columns: 1fr; gap: 48px; }
  .expect-grid             { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top              { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* =============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================= */

@media (max-width: 768px) {

  /* Nav */
  .nav-links    { display: none; }
  .nav-toggle   { display: flex; }

  /* Hero */
  .hero { padding: 110px 5% 60px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  /* Stats */
  .stats-grid   { grid-template-columns: 1fr 1fr; }
  .stat-item    { padding: 24px; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-section__header { flex-direction: column; align-items: flex-start; }
  .services-section__desc { max-width: 100%; }

  /* Products */
  .product-stats-row { flex-wrap: wrap; gap: 20px; }
  .features-grid { grid-template-columns: 1fr; }

  /* Cases */
  .cases-grid          { grid-template-columns: 1fr; }
  .case-card--featured { grid-column: span 1; }

  /* App grid */
  .app-grid { grid-template-columns: 1fr; }

  /* Web portfolio */
  .web-portfolio-grid { grid-template-columns: 1fr; }

  /* RPA */
  .rpa-before-after { grid-template-columns: 1fr; }
  .rpa-arrow { transform: rotate(90deg); }

  /* Timeline */
  .timeline-line { left: 24px; }
  .tl-item { grid-template-columns: 48px 1fr; }
  .tl-left { display: none; }
  .tl-right { padding-left: 20px; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }

  /* Awards */
  .awards-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  /* Expect */
  .expect-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top  { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* CTA strip */
  .cta-strip__actions { flex-direction: column; align-items: center; }

  /* Page hero */
  .page-hero { padding: 120px 5% 60px; }

  /* Meta support */
  .meta-support-grid { grid-template-columns: repeat(3, 1fr); }
}
