/* ==========================================================================
   DENGE SULAMA — Design System
   Light (navy/green/white, brand-derived) with dark-navy "statement" sections
   ========================================================================== */

:root {
  /* contextual tokens — light theme default; redefined inside .on-navy */
  --bg: #ffffff;
  --bg-elevated: #f1f5fa;
  --surface: #ffffff;
  --surface-2: #f6f9fc;
  --border: rgba(14, 42, 82, 0.1);
  --border-strong: rgba(14, 42, 82, 0.2);

  --text: #0e2a52;
  --text-dim: rgba(14, 42, 82, 0.64);
  --text-faint: rgba(14, 42, 82, 0.42);

  --accent-ink: #3f7a1c;

  /* brand constants — same in every context */
  --navy: #0e2a52;
  --navy-rgb: 14, 42, 82;
  --navy-elevated: #163a70;

  --accent: #6bb233;
  --accent-2: #9fdc6e;
  --accent-rgb: 107, 178, 51;
  --warm: #295da9;
  --warm-rgb: 41, 93, 169;
  --on-accent: #0e2a52;

  --font-display: "Russo One", sans-serif;
  --font-body: "Manrope", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;
  --header-h: 84px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-card: 0 1px 2px rgba(14, 42, 82, 0.04), 0 16px 32px -18px rgba(14, 42, 82, 0.22);
}

/* Dark "statement" sections: header, hero, references, cta-banner, footer, mobile menu */
.on-navy {
  --bg: var(--navy);
  --bg-elevated: var(--navy-elevated);
  --surface: var(--navy-elevated);
  --surface-2: #1c4585;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);

  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-faint: rgba(255, 255, 255, 0.46);

  --accent-ink: var(--accent-2);

  background: var(--bg);
  color: var(--text);
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }

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

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

section[id] { scroll-margin-top: 90px; }

/* ---------- Background texture ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); transition: opacity 0.2s; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  transition: width 0.25s var(--ease-soft), height 0.25s var(--ease-soft), border-color 0.25s, background 0.25s;
}
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; background: rgba(var(--accent-rgb), 0.1); border-color: var(--accent); }
.cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-ring { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.preloader-mark { color: var(--accent-2); animation: pulse-mark 1.6s ease-in-out infinite; }
@keyframes pulse-mark { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.85); opacity: 0.6; } }
.preloader-bar { width: 160px; height: 2px; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0%; background: var(--accent-2); transition: width 0.3s var(--ease-soft); }
.preloader.is-done { opacity: 0; visibility: hidden; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
}
.btn-primary:hover { box-shadow: 0 8px 30px -4px rgba(var(--accent-rgb), 0.55); }

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-ink); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 22px;
  font-size: 13.5px;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--border-strong); }

.btn-lg { padding: 19px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease-soft), border-color 0.4s, height 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #ffffff;
}
header.is-scrolled {
  height: 70px;
  background: rgba(var(--navy-rgb), 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 34px; width: auto; display: block; }
.footer-logo .logo-img { height: 38px; }

.nav ul { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 14.5px; font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: #ffffff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: inline-flex; }
.header-cta.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #ffffff; }
.header-cta.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

.btn-hub {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.1);
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-hub svg { color: var(--accent-2); flex-shrink: 0; }
.btn-hub:hover { background: rgba(var(--accent-rgb), 0.18); border-color: rgba(var(--accent-rgb), 0.6); color: #ffffff; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  align-items: flex-end;
  justify-content: center;
}
.menu-toggle span { display: block; width: 100%; height: 1.5px; background: #ffffff; transition: transform 0.4s var(--ease), opacity 0.3s, width 0.3s; }
.menu-toggle span:nth-child(2) { width: 70%; }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 100%; }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 400;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 20px) 32px 48px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  color: var(--text-dim);
  display: inline-block;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.08s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.14s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.26s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.32s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.38s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: 0.44s; }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu-hub { color: var(--accent-2) !important; }
.mobile-menu-footer { display: flex; flex-direction: column; gap: 6px; color: var(--text-faint); font-size: 14px; }
.mobile-menu-footer a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-faint);
  opacity: 1;
  transform: none;
  padding: 0;
  transition: color 0.3s;
}
.mobile-menu-footer a:hover { color: var(--accent-2); }

@media (max-width: 900px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-photo.is-active { opacity: 1; }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(var(--navy-rgb), 0.94) 0%, rgba(var(--navy-rgb), 0.86) 32%, rgba(var(--navy-rgb), 0.58) 60%, rgba(var(--navy-rgb), 0.32) 100%),
    linear-gradient(0deg, rgba(var(--navy-rgb), 0.5) 0%, transparent 30%);
}

.hero-mesh {
  position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--accent-rgb), 0.24), transparent 45%),
    radial-gradient(circle at 82% 12%, rgba(var(--warm-rgb), 0.22), transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(var(--accent-rgb), 0.14), transparent 45%);
  filter: blur(60px);
  mix-blend-mode: soft-light;
  animation: mesh-float 18s ease-in-out infinite alternate;
}
.hero-mesh--subtle { opacity: 0.6; mix-blend-mode: normal; }
@keyframes mesh-float {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.08); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 90px; }

.hero-slides { position: relative; min-height: 340px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), visibility 0.7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent-2); }

.hero-title {
  font-size: clamp(40px, 6.6vw, 92px);
  margin-bottom: 26px;
}
.hero-desc {
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-controls { margin-top: 56px; }
.hero-dots { display: flex; gap: 12px; }
.hero-dot {
  position: relative;
  width: 52px; height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.hero-dot span {
  position: absolute; inset: 0;
  background: var(--accent-2);
  transform-origin: left;
  transform: scaleX(0);
}
.hero-dot.is-active span { animation: hero-progress 6.4s linear forwards; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-scroll {
  position: absolute; bottom: 40px; right: 40px;
  z-index: 1;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
  writing-mode: vertical-rl;
}
.hero-scroll-line { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, 0.4), transparent); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; top: -46px; left: 0; width: 100%; height: 46px;
  background: linear-gradient(var(--accent-2), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line { to { top: 100%; } }

@media (max-width: 640px) {
  .hero-scroll { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
  padding: 18px 0;
}
.marquee-track {
  display: flex; align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-dot { color: var(--accent-ink) !important; font-size: 10px !important; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section shared ---------- */
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head--center { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent-ink); }
.section-head--center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); }

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Services ---------- */
.services { padding: 140px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.service-card {
  grid-column: span 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.service-card:nth-child(3), .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 2; }
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 24px 44px -20px rgba(14, 42, 82, 0.3); }

.service-card-index {
  position: absolute; top: 28px; right: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-faint);
}
.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-ink);
  margin-bottom: 28px;
}
.service-card h3 { font-size: 21px; margin-bottom: 12px; font-family: var(--font-body); font-weight: 800; }
.service-card p { color: var(--text-dim); font-size: 15px; }

.service-card--cta {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.04));
  display: flex; align-items: flex-end; justify-content: space-between;
  cursor: pointer;
}
.service-card--cta h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.service-card--cta p { font-size: 14px; }
.service-card-arrow {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-ink);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.service-card--cta:hover .service-card-arrow { transform: rotate(45deg); background: rgba(var(--accent-rgb), 0.16); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3), .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; }
}

/* ---------- Process ---------- */
.process { padding: 0 0 140px; }
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.process-line {
  position: absolute; top: 15px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.process-line span {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
  transition: width 1.4s var(--ease);
}
.process-line.in-view span { width: 100%; }

.process-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--on-accent);
  background: var(--accent);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 19px; margin-bottom: 10px; font-weight: 800; font-family: var(--font-body); }
.process-step p { color: var(--text-dim); font-size: 14.5px; }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 36px; }
  .process-line { display: none; }
}

/* ---------- References / stats ---------- */
.references { position: relative; padding: 120px 0; overflow: hidden; }
.references-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.reference-card { padding: 20px; border-left: 1px solid var(--border); }
.reference-card:first-child { border-left: none; }
.counter {
  font-size: clamp(44px, 6vw, 76px);
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.plus { color: var(--accent-2); -webkit-text-fill-color: var(--accent-2); }
.reference-card p { color: var(--text-dim); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em; }

@media (max-width: 700px) {
  .references-grid { grid-template-columns: 1fr; gap: 40px; }
  .reference-card { border-left: none; border-top: 1px solid var(--border); }
  .reference-card:first-child { border-top: none; }
}

/* ---------- About ---------- */
.about { padding: 140px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: 80px; align-items: center; }
.about-text h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 24px; }
.about-text > p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; max-width: 480px; }
.about-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-dim); }
.about-list-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: rgba(var(--accent-rgb), 0.16); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
}

.about-visual { position: relative; height: 420px; }
.about-orb {
  position: absolute; top: 10%; left: 10%; width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.22), transparent 70%);
  filter: blur(30px);
  animation: mesh-float 14s ease-in-out infinite alternate;
}
.about-ring {
  position: absolute; top: 50%; left: 50%;
  width: 300px; height: 300px;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.about-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-card);
  animation: card-float 6s ease-in-out infinite;
}
.about-card svg { color: var(--accent-ink); }
.about-card span { font-size: 12.5px; color: var(--text-faint); }
.about-card strong { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--navy); }
.about-card--1 { top: 8%; left: 0; animation-delay: 0s; }
.about-card--2 { bottom: 10%; right: 0; animation-delay: 1.2s; }
@keyframes card-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { height: 320px; margin-top: 20px; }
}

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: 130px 0; text-align: center; overflow: hidden; }
.cta-banner-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.cta-banner h2 { font-size: clamp(34px, 5.4vw, 64px); }

/* ---------- Contact ---------- */
.contact { padding: 140px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 20px; }
.contact-info > p { color: var(--text-dim); max-width: 420px; margin-bottom: 40px; }

.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-dim);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.contact-card:hover { border-color: var(--border-strong); color: var(--text); transform: translateX(4px); }
.contact-card-icon { color: var(--accent-ink); flex-shrink: 0; }

.contact-info .social-icons { display: flex; gap: 12px; }

.social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.social-icons a:hover { color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex; flex-direction: column; gap: 26px;
  box-shadow: var(--shadow-card);
}
.form-field { position: relative; }
.form-field input, .form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 10px 2px;
  font-size: 16px;
  color: var(--text);
  resize: none;
  transition: border-color 0.3s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field label {
  position: absolute; left: 2px; top: 10px;
  color: var(--text-faint);
  font-size: 16px;
  pointer-events: none;
  transition: transform 0.25s var(--ease-soft), font-size 0.25s var(--ease-soft), color 0.25s;
  transform-origin: left top;
}
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 12px;
  color: var(--accent-ink);
}
.form-note { font-size: 13.5px; color: var(--text-faint); min-height: 18px; }
.form-note.is-success { color: var(--accent-ink); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}

/* ---------- Footer ---------- */
footer { padding-top: 80px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px;
}
.footer-logo p { color: var(--text-dim); margin-top: 18px; max-width: 320px; font-size: 14.5px; }
.footer-links h4, .footer-contact h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-dim); font-size: 14.5px; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-2); }
.footer-contact p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 10px; }
.footer-contact a { transition: color 0.3s; }
.footer-contact a:hover { color: var(--accent-2); }
.footer-contact .social-icons { margin-top: 18px; }
footer .social-icons a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 13px; color: var(--text-faint); }

.back-to-top {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, color 0.3s, border-color 0.3s;
  background:
    conic-gradient(var(--accent-2) calc(var(--p, 0) * 1%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: var(--accent-2); }
.back-to-top svg { mask: none; -webkit-mask: none; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ---------- Responsive base ---------- */
@media (max-width: 700px) {
  .container { padding: 0 22px; }
  .services, .about, .contact, .cta-banner, .process { padding-top: 90px; padding-bottom: 90px; }
  .references { padding: 80px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
