/* ============================================================
   ALTIVIAN SYSTEMS — style.css
   Brand tokens sourced from altivian_brand_kit_v2.html
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colors — from brand kit */
  --color-primary:       #0E6DDD; /* Signal Blue */
  --color-primary-hover: #0B5BBE; /* ~10% darker */
  --color-accent:        #7BB8F5; /* Sky Trace */
  --color-dark:          #0A0E1A; /* Deep System */
  --color-heading:       #0D1B2E; /* Near-black navy for headings on light bg */
  --color-body:          #5A6A80; /* Medium slate for paragraph text */
  --color-light-bg:      #F4F7FC; /* Off White / Surface */
  --color-tint:          #E0ECFB; /* Circuit Mist */
  --color-white:         #FFFFFF;
  --color-border:        #DDE4EE;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

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

  /* Layout */
  --container-max:          1200px;
  --section-pad-desktop:    100px;
  --section-pad-tablet:     70px;
  --section-pad-mobile:     60px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(14, 109, 221, 0.10);
  --shadow-card-hover: 0 12px 40px rgba(14, 109, 221, 0.20);
  --shadow-header: 0 2px 20px rgba(10, 14, 26, 0.12);

  /* Transitions */
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── 3. TYPOGRAPHY SCALE ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 54px; font-weight: 700; line-height: 1.1; }
h2 { font-size: 42px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 15px; font-weight: 500; }

p { color: var(--color-body); line-height: 1.75; }

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

/* ─── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: var(--section-pad-desktop) 0;
}

.section-pad-sm {
  padding: 60px 0;
}

/* ─── 5. EYEBROW LABELS ─────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.eyebrow i {
  font-size: 12px;
  color: var(--color-primary);
}

/* ─── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 109, 221, 0.35);
}

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

.btn-dark:hover {
  background: #12182F;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 14, 26, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn i {
  transition: transform var(--transition-base);
}

.btn:hover i {
  transform: translateX(3px);
}

/* Text link style */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  transition: gap var(--transition-base), color var(--transition-base);
}

.link-more:hover {
  gap: 10px;
  color: var(--color-primary-hover);
}

/* ─── 7. GHOST WATERMARK ────────────────────────────────────── */
.ghost-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 140px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 109, 221, 0.10);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  overflow: hidden;
  line-height: 1;
}

.ghost-text-dark {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.05);
}

/* ─── 8. ICON IN CIRCLE ─────────────────────────────────────── */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.icon-circle i {
  font-size: 24px;
  color: var(--color-white);
}

.icon-circle-sm {
  width: 44px;
  height: 44px;
}

.icon-circle-sm i {
  font-size: 18px;
}

.icon-circle-tint {
  background: var(--color-tint);
}

.icon-circle-tint i {
  color: var(--color-primary);
}

/* ─── 9. ORGANIC BLOB BACKGROUNDS ──────────────────────────── */
.blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 70%;
  background: var(--color-primary);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.blob-lg {
  width: 420px;
  height: 380px;
}

.blob-md {
  width: 260px;
  height: 240px;
}

.blob-sm {
  width: 160px;
  height: 140px;
}

/* ─── 10. DOT GRID TEXTURE ──────────────────────────────────── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ─── 11. SECTION POSITIONING HELPER ───────────────────────── */
.section-relative {
  position: relative;
  overflow: hidden;
}

/* ─── 12. SCROLL REVEAL ANIMATION ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─────────────────────────────────────────────────────────────
   SECTION STYLES
   ───────────────────────────────────────────────────────────── */

/* ─── S1. UTILITY BAR ──────────────────────────────────────── */
#utility-bar {
  background: var(--color-dark);
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 200;
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.utility-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-info-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  transition: color var(--transition-base);
}

.utility-info-item i {
  font-size: 11px;
  color: var(--color-accent);
}

.utility-info-item a {
  color: inherit;
  transition: color var(--transition-base);
}

.utility-info-item a:hover {
  color: var(--color-white);
}

.utility-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.utility-social-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 4px;
  font-family: var(--font-body);
}

.social-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  transition: all var(--transition-base);
}

.social-icon-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

/* ─── S2. NAVIGATION ────────────────────────────────────────── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  height: 90px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-base), background var(--transition-base);
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  box-shadow: var(--shadow-header);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--color-heading);
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-body);
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-heading);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-tint);
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link i {
  font-size: 10px;
  opacity: 0.6;
  transition: transform var(--transition-base);
}

.nav-link:hover i {
  transform: rotate(180deg);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading);
  font-size: 15px;
  transition: all var(--transition-base);
}

.nav-icon-btn:hover {
  background: var(--color-tint);
  color: var(--color-primary);
}

.nav-cta {
  margin-left: 8px;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-light-bg);
  padding: 10px;
  cursor: pointer;
  transition: background var(--transition-base);
}

.hamburger:hover {
  background: var(--color-tint);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--color-white);
  z-index: 2000;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-panel.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-heading);
  cursor: pointer;
  transition: all var(--transition-base);
}

.mobile-nav-close:hover {
  background: var(--color-tint);
  color: var(--color-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  background: var(--color-tint);
  color: var(--color-primary);
}

.mobile-nav-cta {
  margin-top: 24px;
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ─── S3. HERO SECTION ──────────────────────────────────────── */
#hero {
  background: var(--color-light-bg);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero-blob-1 {
  top: -80px;
  right: -100px;
  width: 500px;
  height: 480px;
  opacity: 0.06;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.hero-blob-2 {
  bottom: 30px;
  left: -60px;
  width: 280px;
  height: 260px;
  opacity: 0.05;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content { }

.hero-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-tint);
  border-radius: var(--radius-full);
  padding: 7px 16px 7px 10px;
  margin-bottom: 28px;
}

.hero-eyebrow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow-icon i {
  font-size: 11px;
  color: var(--color-white);
}

.hero-eyebrow-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-h1 {
  font-size: 54px;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.10;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  max-width: 560px;
}

.hero-h1 .highlight {
  color: var(--color-primary);
}

.hero-p {
  font-size: 16.5px;
  color: var(--color-body);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-play {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
}

.hero-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(14, 109, 221, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.hero-play-btn i {
  font-size: 18px;
  color: var(--color-primary);
  margin-left: 2px;
}

.hero-play:hover .hero-play-btn {
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(14, 109, 221, 0.35);
  transform: scale(1.05);
}

.hero-play:hover .hero-play-btn i {
  color: var(--color-white);
}

.hero-play-label {}

.hero-play-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
}

.hero-play-sub {
  font-size: 12px;
  color: var(--color-body);
  margin-top: 2px;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 63% 37% 54% 46% / 55% 65% 35% 45%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  opacity: 0.10;
  z-index: 0;
  transform: rotate(-8deg);
}

.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 48px rgba(14, 109, 221, 0.18));
}

/* ─── S4. ABOUT SECTION ─────────────────────────────────────── */
#about {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  padding: 30px;
}

.about-blob-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 0;
  left: 0;
  border-radius: 63% 37% 54% 46% / 55% 65% 35% 45%;
  background: var(--color-primary);
  opacity: 0.07;
}

.about-blob-bg-2 {
  position: absolute;
  width: 55%;
  height: 55%;
  bottom: 0;
  right: 0;
  border-radius: 40% 60% 70% 30% / 60% 40% 60% 40%;
  background: var(--color-accent);
  opacity: 0.12;
}

.about-dot-grid {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.15;
  border-radius: var(--radius-md);
}

.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card-hover);
}

.about-content {}

.about-content h2 {
  margin-bottom: 20px;
  font-size: 40px;
}

.about-content p {
  margin-bottom: 30px;
  font-size: 15.5px;
}

.about-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
}

.about-pill i {
  font-size: 13px;
}

.about-pill-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.about-pill-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ─── S5. SERVICES SECTION ──────────────────────────────────── */
#services {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.services-ghost {
  top: -30px;
  color: transparent;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.services-header-left h2 {
  color: var(--color-white);
  font-size: 40px;
}

.services-header-left .eyebrow {
  color: var(--color-accent);
}

.services-header-left .eyebrow i {
  color: var(--color-accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-base);
  cursor: pointer;
}

.service-card:hover {
  background: rgba(14, 109, 221, 0.12);
  border-color: rgba(14, 109, 221, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14, 109, 221, 0.15);
}

.service-card:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(14, 109, 221, 0.40);
}

.service-card h3 {
  color: var(--color-white);
  font-size: 18px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

.service-card .link-more {
  color: var(--color-accent);
  font-size: 13px;
}

.service-card .link-more:hover {
  color: var(--color-white);
}

/* Decorative line */
.services-deco-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 109, 221, 0.4), transparent);
}

/* ─── S6. WHY CHOOSE US ─────────────────────────────────────── */
#why-us {
  background: var(--color-light-bg);
  position: relative;
  overflow: hidden;
}

.why-us-ghost {
  top: -20px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-us-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.why-us-content p {
  margin-bottom: 36px;
  font-size: 15.5px;
  max-width: 440px;
}

/* SVG Progress rings */
.progress-rings {
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.progress-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.progress-ring-svg {
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-label-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  text-align: center;
}

.ring-number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
}

.ring-desc {
  font-size: 12px;
  color: var(--color-body);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
}

.ring-svg-wrap {
  position: relative;
  width: 96px;
  height: 96px;
}

/* Why us image side */
.why-us-image-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.why-us-blob {
  position: absolute;
  width: 88%;
  height: 88%;
  top: 6%;
  right: 0;
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 50%;
  background: var(--color-primary);
  opacity: 0.07;
}

.why-us-img {
  width: 92%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card-hover);
  position: relative;
  z-index: 1;
}

.why-us-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 2;
  text-align: center;
  box-shadow: 0 8px 28px rgba(14, 109, 221, 0.35);
}

.why-us-badge-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.why-us-badge-label {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

/* ─── S7. STATS COUNTER BAR ─────────────────────────────────── */
#stats {
  background: var(--color-primary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 10px 0;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.stat-icon i {
  font-size: 20px;
  color: var(--color-white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── S8. WORK PROCESS SECTION ──────────────────────────────── */
#process {
  background: var(--color-light-bg);
  position: relative;
  overflow: hidden;
}

.process-ghost {
  top: -20px;
}

.process-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.process-header h2 {
  font-size: 40px;
}

.process-steps-wrap {
  position: relative;
  z-index: 1;
}

.process-dashed-line {
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  border-top: 2.5px dashed rgba(14, 109, 221, 0.25);
  z-index: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 16px;
}

.process-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(14, 109, 221, 0.25);
  transition: all var(--transition-base);
}

.process-step:hover .process-number {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(14, 109, 221, 0.40);
}

.process-step h3 {
  font-size: 17px;
  color: var(--color-heading);
}

.process-step p {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.65;
}

/* ─── S9. TESTIMONIALS SECTION ──────────────────────────────── */
#testimonials {
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.testimonials-ghost {
  top: -20px;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.testimonials-header h2 {
  color: var(--color-white);
  font-size: 40px;
}

.testimonials-header .eyebrow {
  color: var(--color-accent);
}

.testimonials-header .eyebrow i {
  color: var(--color-accent);
}

.quote-deco {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 240px;
  font-family: 'Georgia', serif;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: rgba(14, 109, 221, 0.40);
  background: rgba(14, 109, 221, 0.07);
  transform: translateY(-4px);
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--color-primary);
  flex-shrink: 0;
  background: var(--color-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-avatar-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
  border: 2.5px solid rgba(255, 255, 255, 0.15);
}

.testimonial-info {}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
}

.testimonial-role {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.stars {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.stars i {
  font-size: 12px;
  color: #FBBF24;
}

.testimonial-quote {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

/* ─── S10. CTA BANNER ───────────────────────────────────────── */
#cta-banner {
  background: var(--color-white);
  padding: var(--section-pad-desktop) 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: var(--color-light-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 380px;
  box-shadow: 0 20px 60px rgba(14, 109, 221, 0.12);
}

.cta-image-side {
  position: relative;
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--color-light-bg));
}

.cta-content-side {
  padding: 60px 60px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-deco-icon {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 140px;
  color: rgba(14, 109, 221, 0.06);
  line-height: 1;
}

.cta-content-side h2 {
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-content-side p {
  margin-bottom: 36px;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

.cta-content-side .btn {
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

/* ─── S11. NEWSLETTER BAR ───────────────────────────────────── */
#newsletter {
  background: var(--color-dark);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

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

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.newsletter-logo-mark {
  flex-shrink: 0;
  opacity: 0.9;
}

.newsletter-text {}

.newsletter-heading {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.newsletter-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  max-width: 500px;
}

.newsletter-form-wrap {
  position: relative;
  flex: 1;
}

.newsletter-input {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-white);
  outline: none;
  transition: border-color var(--transition-base), background var(--transition-base);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-input:focus {
  border-color: var(--color-primary);
  background: rgba(14, 109, 221, 0.08);
}

.newsletter-input.error {
  border-color: #EF4444;
}

.newsletter-msg {
  font-size: 12px;
  margin-top: 6px;
  min-height: 18px;
}

.newsletter-msg.success { color: #4ADE80; }
.newsletter-msg.error   { color: #EF4444; }

.newsletter-submit {
  height: 52px;
  flex-shrink: 0;
}

/* ─── S12. FOOTER ───────────────────────────────────────────── */
#footer {
  background: #060810;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

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

.footer-col-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--color-white);
}

.footer-logo-sub {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 3px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  transition: all var(--transition-base);
}

.footer-social-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-col-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--transition-base);
}

.footer-link i {
  font-size: 10px;
  color: var(--color-primary);
  opacity: 0.7;
  transition: transform var(--transition-base);
}

.footer-link:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-link:hover i {
  opacity: 1;
  transform: translateX(2px);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-copyright {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copyright a {
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.footer-copyright a:hover {
  color: var(--color-primary);
}

/* ─── FOCUS VISIBLE ─────────────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
   ───────────────────────────────────────────────────────────── */

/* ─── TABLET (768–1199px) ───────────────────────────────────── */
@media (max-width: 1199px) {
  :root {
    --section-pad-desktop: var(--section-pad-tablet);
  }

  h1 { font-size: 42px; }
  h2 { font-size: 34px; }

  .hero-h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-img { max-width: 480px; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }

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

  .why-us-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-us-image-wrap { justify-content: center; }
  .why-us-img { width: 80%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.15); padding-bottom: 32px; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { padding-top: 32px; }
  .stat-item:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, 0.15); }
  .stat-item:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, 0.15); }

  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-dashed-line { display: none; }

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

  .cta-card { grid-template-columns: 1fr; }
  .cta-image-side { min-height: 260px; }
  .cta-content-side { padding: 48px 40px; }

  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { max-width: 100%; width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .ghost-text { font-size: 90px; }

  .utility-info .utility-info-item:last-child { display: none; }
}

/* ─── MOBILE (<768px) ───────────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --section-pad-desktop: var(--section-pad-mobile);
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 18px; }

  .hero-h1 { font-size: 34px; }
  .hero-p { font-size: 15px; }
  .about-content h2 { font-size: 28px; }
  .why-us-content h2 { font-size: 28px; }
  .services-header-left h2 { font-size: 28px; }
  .testimonials-header h2 { font-size: 28px; }
  .cta-content-side h2 { font-size: 26px; }

  /* Utility bar */
  #utility-bar { display: none; }

  /* Nav */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-panel { display: flex; }

  /* Hero */
  #hero { padding: 60px 0 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Services */
  .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-number { font-size: 36px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-dashed-line { display: none; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-card { grid-template-columns: 1fr; }
  .cta-image-side { min-height: 220px; }
  .cta-content-side { padding: 36px 28px; }

  /* Newsletter */
  .newsletter-inner { flex-direction: column; gap: 32px; }
  .newsletter-left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .newsletter-form { flex-direction: column; width: 100%; max-width: 100%; }
  .newsletter-submit { height: 48px; width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Ghost text */
  .ghost-text { font-size: 60px; opacity: 0.5; }

  /* Progress rings */
  .progress-rings { gap: 24px; }
  .why-us-badge { left: -10px; }
}

/* ─── PRINT / REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { transition-duration: 0.01ms !important; }
}
