/* ─────────────────────────────────────────────────────────────────
   Web&Code Tech — Brand Identity System v3.0
   Style: Liquid Glass + Editorial Minimalism
   Palette: Charcoal / Solar Orange / Arctic White
   Typography: Barlow (Brand) + JetBrains Mono (Code)
   ───────────────────────────────────────────────────────────────── */

/* 1. DESIGN TOKENS */
:root {
  /* Core Palette */
  --bg-canvas:    #FAFBFF;
  --bg-surface:   #FFFFFF;
  --bg-elevated:  #F4F6FF;
  --bg-dark:      #0A0F1E;
  --bg-dark-2:    #111827;

  /* Brand Colors — WEB&CODE Identity */
  --brand-charcoal:  #2C3335;
  --brand-navy:      #121a24;
  --brand-orange:    #FF7F41;
  --brand-peach:     #e8926d;

  /* Indigo (legacy alias — mapped to brand charcoal) */
  --indigo-900: #1a2328;
  --indigo-700: #2a2e30;
  --indigo-600: #2a2e30;
  --indigo-500: #3d4549;
  --indigo-100: #e8e9ea;
  --indigo-50:  #f4f4f4;

  --orange-600: #d9531a;
  --orange-500: #f46530;
  --orange-100: #fad5c3;
  --orange-50:  #fdf2ec;

  /* Neutrals */
  --gray-900: #0F172A;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50:  #F8FAFC;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-500);
  --text-muted:     var(--gray-400);
  --border:         var(--gray-200);
  --border-focus:   var(--indigo-600);

  /* Typography — Brand: Barlow */
  --font-display: 'Barlow', 'Inter', system-ui, sans-serif;
  --font-sans:    'Barlow', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --nav-h:    120px;
  --page-px:  clamp(20px, 5vw, 96px);
  --section-py: clamp(80px, 10vw, 160px);

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.08), 0 2px 8px rgba(15,23,42,0.04);
  --shadow-lg:  0 20px 40px rgba(15,23,42,0.10), 0 8px 20px rgba(15,23,42,0.06);
  --shadow-xl:  0 40px 80px rgba(15,23,42,0.14), 0 16px 40px rgba(15,23,42,0.08);
  --shadow-indigo: 0 8px 32px rgba(37,99,235,0.24);
  --shadow-orange: 0 8px 32px rgba(249,115,22,0.30);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body {
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* 3. ACCESSIBILITY */
.skip-link {
  position: absolute; top: -100px; left: 24px;
  background: var(--indigo-600); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ─── 4. NAVIGATION ─────────────────────────────── */
.main-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.main-header.scrolled {
  background: rgba(10, 15, 30, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.nav-container {
  max-width: 1440px; margin: 0 auto;
  padding: 0 5%;
  display: flex; flex-direction: column;
}
.nav-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-top-actions {
  display: flex; align-items: center; gap: 24px;
}
.nav-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px; border-radius: 50px;
  color: rgba(255, 255, 255, 0.6);
}
.nav-search-input {
  background: transparent; border: none; color: #fff;
  font-family: var(--font-sans); font-size: 14px;
  outline: none; width: 220px;
}
.nav-search-input::placeholder { color: rgba(255, 255, 255, 0.4); }

.nav-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.btn-categories {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-orange); color: #fff;
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.btn-categories:hover { background: #e66b35; }
.nav-contact-info {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 500;
}

.brand-link {
  display: flex; align-items: center; gap: 15px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.brand-link:hover { transform: scale(1.02); }
.brand-icon {
  height: 55px; width: auto; max-width: 100%; display: block; flex-shrink: 0;
  object-fit: contain;
}
.brand-text-block {
  display: flex; flex-direction: column; justify-content: center;
}
.brand-title {
  font-family: var(--font-display); font-size: 25px; font-weight: 800;
  line-height: 1.1; letter-spacing: -0.02em;
}
.brand-main {
  color: #fff;
}
.brand-accent {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-peach));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.brand-subtitle {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,0.7); margin-top: 2px;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .nav-search { display: none; }
  .nav-contact-info { display: none; }
}
@media (max-width: 767px) {
  .brand-title { font-size: 20px; }
  .brand-subtitle { display: none; }
  .brand-icon { height: 42px; }
  .brand-link { gap: 8px; }
  .nav-bottom { display: none; }
  .nav-top-actions .btn-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
}
.nav-menu { display: flex; align-items: center; }
.nav-list {
  list-style: none; display: flex;
  gap: 2.5rem; align-items: center;
}
.nav-item {
  text-decoration: none; color: rgba(255, 255, 255, 0.8);
  font-weight: 500; font-size: 0.95rem; letter-spacing: 0.5px;
  position: relative; padding-bottom: 2px;
  transition: color 0.3s ease;
}
.nav-item::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--brand-orange);
  border-radius: 1px; transition: width 0.3s ease;
}
.nav-item:hover { color: #fff; }
.nav-item:hover::after { width: 100%; }
.btn-cta {
  background: #fff; color: var(--bg-dark);
  padding: 0.7rem 1.6rem; border-radius: 50px;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  white-space: nowrap;
}
.btn-cta:hover {
  background: transparent; color: #fff;
}
.mobile-menu-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 8px;
  background: none; border: none; cursor: pointer;
}
.mobile-menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 5. BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.25s var(--ease-out);
  border: 2px solid transparent; white-space: nowrap;
}
.btn--primary {
  background: var(--indigo-600); color: #fff;
  box-shadow: var(--shadow-indigo);
}
.btn--primary:hover { background: var(--indigo-700); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,99,235,0.35); }
.btn--cta {
  background: var(--orange-500); color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--cta:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(249,115,22,0.40); }
.btn--outline {
  background: transparent; color: var(--indigo-600);
  border-color: var(--indigo-600);
}
.btn--outline:hover { background: var(--indigo-50); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--gray-700); border-color: var(--border);
}
.btn--ghost:hover { background: var(--gray-50); color: var(--gray-900); }

/* ─── 6. SECTION LABELS ──────────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--indigo-600);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: inline-block; width: 24px; height: 2px;
  background: var(--indigo-600); border-radius: 1px;
}
.section-headline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--gray-900);
}
.section-headline em { font-style: normal; color: var(--indigo-600); }
.section-sub {
  font-size: clamp(16px, 1.8vw, 18px); color: var(--text-secondary);
  line-height: 1.7; max-width: 54ch; margin-top: 16px;
}

/* ─── 7. HERO ─────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: var(--nav-h) var(--page-px) 0;
  overflow: hidden;
  background: var(--bg-canvas);
}
.hero__terminal {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 550px;
  background: #050505;
  border-radius: 12px;
  border: 1px solid #262626;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  font-family: 'JetBrains Mono', monospace;
  z-index: 10;
}

.hero__terminal-header {
  display: flex; align-items: center;
  padding: 12px 16px;
  background: #0a0a0a;
  border-bottom: 1px solid #262626;
}

.hero__terminal-dots {
  display: flex; gap: 8px;
}

.hero__terminal-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.hero__terminal-dots span:nth-child(1) { background: rgba(239, 68, 68, 0.8); }
.hero__terminal-dots span:nth-child(2) { background: rgba(234, 179, 8, 0.8); }
.hero__terminal-dots span:nth-child(3) { background: rgba(34, 197, 94, 0.8); }

.hero__terminal-title {
  margin: 0 auto;
  font-size: 13px;
  color: #737373;
}

.hero__terminal-body {
  padding: 24px;
  min-height: 380px;
  color: #d4d4d4;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}

.hero__terminal-cursor {
  display: inline-block;
  width: 10px; height: 18px;
  background: var(--orange-500);
  vertical-align: middle;
  margin-left: 4px;
  animation: blink 0.8s linear infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-top: calc(var(--nav-h) + 20px);
  }
  .hero__terminal {
    margin-top: 40px;
    max-width: 100%;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__inner {
    max-width: 100%;
  }
}
.hero__grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: clamp(60px, 10vh, 120px) 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--indigo-600); text-transform: uppercase;
  background: var(--indigo-50); border: 1px solid var(--indigo-100);
  padding: 6px 14px; border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.headline {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(52px, 7.5vw, 110px);
  line-height: 1.0; letter-spacing: -0.03em;
  color: var(--gray-900);
  overflow: hidden;
}
.line-group { display: block; overflow: hidden; }
.line-inner { display: block; }
.headline .highlight { color: var(--indigo-600); position: relative; }
.headline .highlight-orange { color: var(--orange-500); }

.hero__sub {
  font-size: clamp(16px, 1.8vw, 20px); font-weight: 400;
  color: var(--text-secondary); line-height: 1.7;
  max-width: 52ch; margin-top: 28px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__stats {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px); margin-top: 60px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px); color: var(--indigo-600); line-height: 1;
}
.stat__suf { font-size: 0.7em; color: var(--orange-500); }
.stat__lbl {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 4px;
}
.stat__div { color: var(--border); font-size: 28px; user-select: none; }
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); cursor: pointer; z-index: 10;
}
.scroll-hint svg { animation: bounceHint 2s infinite ease-in-out; }
@keyframes bounceHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ─── 8. SERVICES STRIP ─────────────────────────── */
.services-strip {
  background: var(--bg-dark); color: #fff;
  padding: 24px 0; overflow: hidden;
}
.services-strip__track {
  display: flex; gap: 48px; align-items: center;
  width: max-content;
  animation: stripScroll 30s linear infinite;
}
.services-strip__track:hover { animation-play-state: paused; }
@keyframes stripScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.services-strip__item {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.7;
  flex-shrink: 0; white-space: nowrap;
}
.services-strip__item svg { color: var(--orange-500); }
.services-strip__sep { color: rgba(255,255,255,0.2); font-size: 20px; flex-shrink: 0; }

/* ─── 9. WORK / PROJECTS ─────────────────────────── */
.work {
  position: relative; padding: var(--section-py) var(--page-px);
  background: var(--bg-canvas);
}
.work__inner { max-width: 1400px; margin: 0 auto; }
.work__header { margin-bottom: clamp(60px, 8vw, 100px); }
.work__grid { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.work__item { position: relative; width: 100%; }
.work__item--large { width: 80%; max-width: 1000px; }
.work__item--offset-right { width: 65%; max-width: 800px; align-self: flex-end; margin-top: clamp(-40px,-5vw,-80px); }
.work__item--full { width: 100%; margin-top: clamp(20px,4vw,60px); }
.work__link {
  display: block; position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.work__link:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.work__visual {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: var(--gray-100);
}
.work__item--full .work__visual { aspect-ratio: 21/9; }
.work__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.work__link:hover .work__visual img { transform: scale(1.06); }
.work__meta {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.95);
  background: rgba(255,255,255,0.92); backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 36px 40px; border-radius: var(--radius-lg);
  text-align: center; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  width: 80%; max-width: 380px;
  box-shadow: 0 30px 60px rgba(15,23,42,0.18);
}
.work__link:hover .work__meta { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.work__title {
  font-family: var(--font-display); font-size: clamp(22px,2.5vw,34px);
  font-weight: 800; line-height: 1.1; margin-bottom: 10px; color: var(--gray-900);
}
.work__desc { font-size: 13px; color: var(--indigo-600); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 600; }
.work__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.work__tags .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--gray-700); background: var(--gray-100); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: var(--radius-sm);
}

/* ─── 10. SERVICES SECTION ───────────────────────── */
.services {
  padding: var(--section-py) var(--page-px);
  background: var(--bg-elevated);
}
.services__inner { max-width: 1300px; margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 64px;
}
.service-card {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--indigo-600), var(--orange-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--indigo-50); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--indigo-600);
}
.service-card__title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--gray-900); margin-bottom: 12px;
}
.service-card__desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 24px; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-card__tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  background: var(--indigo-50); color: var(--indigo-700);
  border: 1px solid var(--indigo-100); padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ─── 11. ODOO SECTION ───────────────────────────── */
.odoo {
  padding: var(--section-py) var(--page-px);
  background: var(--bg-dark);
  position: relative; overflow: hidden;
}
.odoo__bg-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.odoo__inner { max-width: 1300px; margin: 0 auto; position: relative; z-index: 1; }
.odoo__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.odoo__text .section-label { color: var(--orange-500); }
.odoo__text .section-label::before { background: var(--orange-500); }
.odoo__text .section-headline { color: #fff; }
.odoo__text .section-sub { color: rgba(255,255,255,0.65); }
.odoo__modules {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px;
}
.odoo__module {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 16px 18px;
  transition: all 0.3s var(--ease-out);
}
.odoo__module:hover { background: rgba(37,99,235,0.2); border-color: rgba(37,99,235,0.4); transform: translateX(4px); }
.odoo__module-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--indigo-600); display: flex; align-items: center;
  justify-content: center; color: #fff; flex-shrink: 0;
}
.odoo__module-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
.odoo__visual { position: relative; }
.odoo__visual img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.odoo__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── 12. ABOUT ──────────────────────────────────── */
.about {
  position: relative; padding: var(--section-py) var(--page-px);
  background: var(--bg-canvas); overflow: hidden;
}
.about__bg-noise {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.about__inner { max-width: 1200px; margin: 0 auto; }
.about__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__visual-stack { position: relative; }
.about__orb-ring {
  width: clamp(300px, 40vw, 520px); aspect-ratio: 1/1;
  border-radius: 50%; margin: 0 auto;
  background: conic-gradient(from 0deg, var(--indigo-600), var(--orange-500), var(--indigo-500), var(--indigo-600));
  display: flex; align-items: center; justify-content: center;
  animation: ringRotate 12s linear infinite;
  box-shadow: 0 0 80px rgba(37,99,235,0.20);
}
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.about__orb-inner {
  width: calc(100% - 16px); height: calc(100% - 16px);
  border-radius: 50%; background: var(--bg-canvas);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.about__orb-label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.about__orb-value { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--indigo-600); }
.about__pills {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.about__pill {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.about__capabilities { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.capability {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px;
  transition: all 0.3s var(--ease-out);
}
.capability:hover { background: var(--indigo-50); border-color: var(--indigo-100); }
.capability__icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--indigo-600); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.capability__title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.capability__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* ─── 13. PROCESS ACCORDION ──────────────────────── */
.process {
  padding: var(--section-py) var(--page-px);
  background: var(--bg-elevated);
}
.process__inner { max-width: 1200px; margin: 0 auto; }
.process__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 64px; }
.process__steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: all 0.35s var(--ease-out);
}
.process-step__trigger {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 24px 0; cursor: pointer; text-align: left;
}
.process-step__num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-muted); min-width: 36px;
}
.process-step.active .process-step__num { color: var(--indigo-600); }
.process-step__title {
  font-size: 17px; font-weight: 700; color: var(--gray-900); flex: 1;
  transition: color 0.2s;
}
.process-step.active .process-step__title { color: var(--indigo-600); }
.process-step__chevron {
  width: 20px; height: 20px; color: var(--text-muted);
  transition: transform 0.3s var(--ease-out), color 0.2s;
}
.process-step.active .process-step__chevron { transform: rotate(180deg); color: var(--indigo-600); }
.process-step__body {
  overflow: hidden; max-height: 0;
  transition: max-height 0.5s var(--ease-out), padding 0.3s;
}
.process-step.active .process-step__body { max-height: 200px; padding-bottom: 24px; }
.process-step__desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; padding-left: 52px; }
.process__preview {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.process__preview-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: var(--gray-50); border-bottom: 1px solid var(--border);
}
.preview-dot { width: 12px; height: 12px; border-radius: 50%; }
.preview-dot--red { background: #FF5F57; }
.preview-dot--yellow { background: #FFBD2E; }
.preview-dot--green { background: #28C840; }
.process__preview-content { padding: 32px; min-height: 280px; }
.preview-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 220px; color: var(--text-muted);
  font-size: 14px; gap: 12px;
}

/* ─── 14. TESTIMONIALS ───────────────────────────── */
.testimonials {
  padding: var(--section-py) var(--page-px);
  background: var(--bg-dark); color: #fff; position: relative; overflow: hidden;
}
.testimonials__bg { position: absolute; inset: 0; pointer-events: none; }
.testimonials__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.testimonials .section-label { color: var(--orange-500); }
.testimonials .section-label::before { background: var(--orange-500); }
.testimonials .section-headline { color: #fff; }
.testimonials__constellation {
  position: relative; height: 500px; margin-top: 60px;
  display: flex; align-items: center; justify-content: center;
}
.tnode {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: transform 0.3s var(--spring);
}
.tnode:hover, .tnode.active { transform: scale(1.1); }
.tnode__ring {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s; display: block;
}
.tnode.active .tnode__ring { background: var(--indigo-600); border-color: var(--indigo-500); box-shadow: 0 0 24px rgba(37,99,235,0.5); }
.tnode__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-align: center;
  color: rgba(255,255,255,0.6); transition: color 0.3s;
}
.tnode.active .tnode__label { color: rgba(255,255,255,0.95); }
/* Node positions */
.tnode:nth-child(1) { top: 10%; left: 10%; }
.tnode:nth-child(2) { top: 10%; right: 10%; }
.tnode:nth-child(3) { top: 50%; left: 3%; transform: translateY(-50%); }
.tnode:nth-child(4) { top: 80%; left: 20%; }
.tnode:nth-child(5) { top: 80%; right: 20%; }
.testimonials__quote-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: clamp(260px, 42%, 380px);
  background: rgba(255,255,255,0.06); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl);
  padding: 36px; text-align: center;
}
.testimonials__quote-text {
  font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.85);
  font-style: italic; margin-bottom: 20px;
}
.testimonials__quote-name { display: block; font-weight: 700; color: #fff; font-size: 14px; }
.testimonials__quote-role { display: block; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ─── 15. CONTACT ────────────────────────────────── */
.contact {
  padding: var(--section-py) var(--page-px);
  background: var(--bg-canvas);
}
.contact__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5.5vw, 80px); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--gray-900);
}
.contact__title-accent { color: var(--indigo-600); }
.contact__desc { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-top: 20px; max-width: 42ch; }
.contact__info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact__info-block { display: flex; flex-direction: column; gap: 4px; }
.contact__info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact__email { font-size: 16px; font-weight: 600; color: var(--indigo-600); transition: color 0.2s; }
.contact__email:hover { color: var(--indigo-700); }
.contact__location { font-size: 15px; color: var(--gray-700); }
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.form-group { position: relative; }
.form-input {
  width: 100%; padding: 15px 18px;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-family: var(--font-sans);
  font-size: 15px; color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--indigo-600); box-shadow: 0 0 0 4px rgba(37,99,235,0.10); }
.form-textarea { resize: vertical; min-height: 140px; }
.contact__form-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.btn-magnetic {
  position: relative; overflow: hidden;
  padding: 16px 36px; border-radius: var(--radius-full);
  background: var(--gray-900); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.3s var(--ease-out);
  border: none; display: inline-flex; align-items: center; gap: 10px;
}
.btn-magnetic:hover { background: var(--indigo-600); transform: translateY(-2px); box-shadow: var(--shadow-indigo); }
.btn-magnetic--dark { background: var(--gray-900); }

/* ─── 16. FOOTER ─────────────────────────────────── */
.footer-wrapper {
  padding: 20px var(--page-px) 32px;
  background: var(--bg-canvas);
}
.footer-island {
  max-width: 1300px; margin: 0 auto;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  box-shadow: 0 40px 80px rgba(15,23,42,0.2);
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: #fff; letter-spacing: 0.04em;
}
.footer__copyright { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer__nav { display: flex; gap: 28px; }
.footer__link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__link:hover { color: #fff; }
.footer__actions { display: flex; align-items: center; gap: 16px; }
.footer__social {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer__social:hover { background: var(--indigo-600); color: #fff; border-color: var(--indigo-600); }
.footer__back-to-top {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.2s; cursor: pointer;
}
.footer__back-to-top:hover { background: var(--orange-500); color: #fff; border-color: var(--orange-500); }

/* ─── 17. MOBILE NAV DRAWER ──────────────────────── */
.nav__drawer {
  display: none; flex-direction: column;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,23,42,0.5); backdrop-filter: blur(4px);
}
.nav__drawer.open { display: flex; }
.nav__drawer-panel {
  background: var(--bg-surface); width: 80%; max-width: 340px;
  height: 100%; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%); transition: transform 0.4s var(--ease-out);
}
.nav__drawer.open .nav__drawer-panel { transform: translateX(0); }
.nav__drawer-link {
  display: block; padding: 14px 16px; border-radius: var(--radius-md);
  font-size: 17px; font-weight: 600; color: var(--gray-900);
  transition: all 0.2s;
}
.nav__drawer-link:hover { background: var(--indigo-50); color: var(--indigo-600); }
.nav__drawer-close {
  align-self: flex-end; margin-bottom: 24px; padding: 8px;
  color: var(--gray-500); cursor: pointer;
}

/* ─── 18. CANVAS (hero bg particle - hidden in light mode) */
.hero__canvas { display: none; }

/* ─── 19. UTILITY CLASSES ────────────────────────── */
.mono { font-family: var(--font-mono); }
.gradient-text {
  background: linear-gradient(135deg, var(--indigo-600) 0%, var(--orange-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 20. RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
  .about__layout,
  .odoo__layout,
  .process__layout,
  .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .process__preview { position: static; }
  .odoo__visual { order: -1; }
}
@media (max-width: 768px) {
  .brand-logo { height: 40px; }
  .nav-list { display: none; }
  .mobile-menu-toggle { display: flex; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { padding: 40px 0 80px; }
  .headline { font-size: clamp(42px, 12vw, 64px); }
  .work__item--large, .work__item--offset-right, .work__item--full {
    width: 100%; max-width: 100%; align-self: auto; margin-top: 0;
  }
  .services__grid { grid-template-columns: 1fr; }
  .odoo__modules { grid-template-columns: 1fr; }
  .footer-island { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .about__layout { gap: 80px; }
  .about__orb-ring { width: 280px; }
}
@media (max-width: 480px) {
  :root { --page-px: 20px; }
  .hero__stats { gap: 20px; }
  .testimonials__constellation { height: 360px; }
}

/* ─── 21. REDUCED MOTION ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
