/* ═══════════════════════════════════════════════════════
   APT — Apple-Inspired Design System
   apple.css  · v1.0
   ═══════════════════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  /* Brand */
  --apt-navy:       #1B3FA0;
  --apt-navy-deep:  #0d2270;
  --apt-orange:     #F47B20;
  --apt-orange-lt:  #FF9A45;
  --apt-teal:       #00B4A6;
  --apt-teal-lt:    #1ECFC0;

  /* Neutrals (Apple scale) */
  --black:   #1d1d1f;
  --gray-1:  #2d2d2f;
  --gray-2:  #424245;
  --gray-3:  #6e6e73;
  --gray-4:  #a1a1a6;
  --gray-5:  #d2d2d7;
  --gray-6:  #e8e8ed;
  --gray-7:  #f2f2f7;
  --gray-8:  #f5f5f7;
  --white:   #ffffff;

  /* Semantic */
  --bg:      var(--white);
  --fg:      var(--black);
  --muted:   var(--gray-3);
  --border:  rgba(0,0,0,0.1);
  --border-light: rgba(0,0,0,0.06);

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

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-pill: 980px;

  /* Font */
  --font: 'Manrope', -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }

/* ── TYPOGRAPHY SCALE ── */
.t-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--apt-teal);
}
.t-display {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 800; line-height: 1.04;
  letter-spacing: -.04em;
}
.t-h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -.035em;
}
.t-h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -.03em;
}
.t-h3 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.025em;
}
.t-body-xl { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; font-weight: 300; }
.t-body-lg { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; font-weight: 300; }
.t-body    { font-size: 15px; line-height: 1.6; }
.t-caption { font-size: 13px; line-height: 1.5; color: var(--muted); }
.t-micro   { font-size: 11px; letter-spacing: .04em; color: var(--muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--apt-orange) 0%, #ff6b35 40%, var(--apt-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navy-text   { color: var(--apt-navy); }
.orange-text { color: var(--apt-orange); }
.teal-text   { color: var(--apt-teal); }
.muted       { color: var(--muted); }
.white       { color: var(--white); }

/* ── NAV ── */
.apt-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 52px; z-index: 200;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: background .3s var(--ease-out);
}
.apt-nav.dark-nav {
  background: rgba(0,0,0,0.72);
  border-bottom-color: rgba(255,255,255,0.1);
}
.apt-nav.dark-nav .nav-link { color: rgba(255,255,255,0.85); }
.apt-nav.dark-nav .nav-link:hover { color: white; }

.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
}
.nav-logo img {
  height: 28px; width: auto; object-fit: contain;
}
.nav-logo-wordmark {
  font-size: 14px; font-weight: 800;
  letter-spacing: -.02em; color: var(--apt-navy);
}
.apt-nav.dark-nav .nav-logo-wordmark { color: white; }

.nav-links {
  display: flex; align-items: center;
  gap: 28px; list-style: none;
}
.nav-link {
  font-size: 13px; font-weight: 500;
  color: var(--black); opacity: .85;
  transition: opacity .2s;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { color: var(--apt-navy); opacity: 1; font-weight: 600; }

.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--apt-navy); color: white !important;
  padding: 7px 16px; border-radius: var(--r-pill);
  opacity: 1 !important;
  transition: background .25s, transform .2s;
}
.nav-cta:hover { background: var(--apt-orange); transform: scale(1.04); }

.nav-mobile-btn {
  display: none; font-size: 20px;
  background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--black);
}
.apt-nav.dark-nav .nav-mobile-btn { color: white; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center;
  gap: 6px; padding: 13px 24px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  transition: all .28s var(--ease-out);
  cursor: pointer; border: none;
  text-decoration: none;
  pointer-events: all;
}
.btn-primary {
  background: var(--apt-navy); color: white;
}
.btn-primary:hover {
  background: var(--apt-orange);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(244,123,32,0.3);
}
.btn-white {
  background: white; color: var(--black);
}
.btn-white:hover {
  background: var(--gray-8);
  transform: scale(1.03);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid rgba(0,0,0,0.2);
}
.btn-ghost-dark:hover {
  background: var(--gray-7);
  border-color: rgba(0,0,0,0.35);
}
.btn-orange {
  background: var(--apt-orange); color: white;
}
.btn-orange:hover {
  background: var(--apt-orange-lt);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(244,123,32,0.35);
}
.btn-teal {
  background: var(--apt-teal); color: white;
}
.btn-teal:hover {
  background: var(--apt-teal-lt);
  transform: scale(1.03);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── SECTIONS ── */
.section {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 80px);
}
.section-center { text-align: center; }
.section-inner {
  max-width: 1080px; margin: 0 auto;
}
.section-inner-wide {
  max-width: 1280px; margin: 0 auto;
}

/* ── SECTION THEMES ── */
.bg-white   { background: var(--white); }
.bg-light   { background: var(--gray-8); }
.bg-dark    { background: var(--black); color: white; }
.bg-navy    { background: var(--apt-navy); color: white; }
.bg-gradient-dark {
  background: linear-gradient(160deg, #0d0d0f 0%, #1a1a2e 50%, #0d0d0f 100%);
  color: white;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-up    { transform: translateY(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal-scale.in { transform: scale(1); }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── STATS STRIP ── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px clamp(20px, 5vw, 80px);
}
.stats-row {
  display: flex; max-width: 1080px; margin: 0 auto;
}
.stat-item {
  flex: 1; text-align: center; padding: 0 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.04em; margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; font-weight: 400; }

/* ── FEATURE TILES ── */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1080px; margin: 0 auto;
}
.tile {
  border-radius: var(--r-xl);
  padding: clamp(36px, 4vw, 56px);
  min-height: 360px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden; position: relative;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  cursor: default;
}
.tile:hover { transform: translateY(-6px) scale(1.01); }
.tile-wide { grid-column: span 2; }

/* Tile themes */
.tile-black  { background: var(--black); color: white; }
.tile-navy   { background: var(--apt-navy); color: white; }
.tile-teal   { background: linear-gradient(145deg, #004d47, var(--apt-teal)); color: white; }
.tile-orange { background: linear-gradient(145deg, #6b3200, var(--apt-orange)); color: white; }
.tile-white  { background: white; border: 1px solid var(--border); }
.tile-light  { background: var(--gray-8); }

/* Tile content */
.tile-icon  {
  width: 56px; height: 56px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.95);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
  margin-bottom: 0;
}
.tile-icon svg { width: 100%; height: 100%; display: block; stroke-width: 1.6; }
[data-lucide], .lucide { stroke-width: 1.7; }
.tile-light .tile-icon { color: var(--apt-navy); }
.tile-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.tile-title { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin: 8px 0 10px; }
.tile-desc  { font-size: 14px; line-height: 1.65; opacity: .7; font-weight: 300; }
.tile-link  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; margin-top: 20px;
  color: inherit; opacity: .85;
  transition: gap .22s, opacity .22s;
}
.tile-link:hover { gap: 10px; opacity: 1; }
.tile-link-blue { color: var(--apt-navy) !important; }

/* Tile decorative bg elements */
.tile::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

/* ── SOLUTION ROW ── */
.sol-rows { max-width: 1080px; margin: 0 auto; }
.sol-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: clamp(64px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--border);
}
.sol-row:last-child { border-bottom: none; }
.sol-row.flip { direction: rtl; }
.sol-row.flip > * { direction: ltr; }

.sol-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.sol-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.sol-visual:hover img { transform: scale(1.04); }
.sol-visual-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px;
}

.sol-number {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--apt-teal); margin-bottom: 14px;
}
.sol-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1; margin-bottom: 18px;
}
.sol-body {
  font-size: 16px; color: var(--muted);
  line-height: 1.72; font-weight: 300; margin-bottom: 24px;
}
.sol-features { list-style: none; margin-bottom: 32px; }
.sol-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
  padding: 9px 0; border-bottom: 1px solid var(--border-light);
}
.sol-features li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--apt-teal); flex-shrink: 0;
}
.sol-link {
  font-size: 15px; font-weight: 600;
  color: var(--apt-navy);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap .22s, color .22s;
}
.sol-link:hover { gap: 10px; color: var(--apt-orange); }

/* ── PARTNER CARDS ── */
.partners-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: var(--r-xl); overflow: hidden;
  max-width: 1080px; margin: 48px auto 0;
}
.partner-card {
  background: var(--white);
  padding: 44px 28px;
  text-align: center;
  transition: all .35s var(--ease-out);
  position: relative;
}
.partner-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  transform: scale(1.04);
  border-radius: var(--r-xl);
  z-index: 2;
}
.partner-logo-box {
  height: 64px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.partner-logo-box img {
  max-height: 44px; max-width: 130px;
  object-fit: contain; filter: grayscale(30%);
  transition: filter .35s;
}
.partner-card:hover .partner-logo-box img { filter: grayscale(0%); }
.partner-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.partner-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── CLIENT MARQUEE ── */
.marquee-section { overflow: hidden; position: relative; }
.marquee-section::before,
.marquee-section::after {
  content: ''; position: absolute;
  top: 0; bottom: 0; width: 140px; z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; }
.marquee-section::after  { right: 0; }
.marquee-section.light-fade::before { background: linear-gradient(90deg, var(--white), transparent); }
.marquee-section.light-fade::after  { background: linear-gradient(-90deg, var(--white), transparent); }
.marquee-section.dark-fade::before  { background: linear-gradient(90deg, var(--black), transparent); }
.marquee-section.dark-fade::after   { background: linear-gradient(-90deg, var(--black), transparent); }

.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: aptMarquee 36s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes aptMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-slot {
  display: flex; align-items: center; justify-content: center;
  padding: 24px 40px;
  border-right: 1px solid var(--border);
  min-width: 180px;
  filter: grayscale(100%); opacity: .55;
  transition: filter .4s, opacity .4s;
}
.logo-slot:hover { filter: grayscale(0%); opacity: 1; }
.logo-slot img {
  max-height: 36px; max-width: 120px;
  object-fit: contain;
}
/* Dark variant */
.logo-slot.dark-slot { border-right-color: rgba(255,255,255,0.1); filter: grayscale(100%) brightness(2); opacity: .4; }
.logo-slot.dark-slot:hover { filter: grayscale(0%) brightness(1.2); opacity: 1; }

/* ── RICH CLIENT MARQUEE (uimagic-style) ── */
.rich-marquee {
  background: #050508;
  padding: 22px 0;
  margin: 40px 0 0;
  overflow: hidden;
  position: relative;
}
.rich-marquee::before,
.rich-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 3; pointer-events: none;
}
.rich-marquee::before { left: 0;  background: linear-gradient(90deg, #050508, transparent); }
.rich-marquee::after  { right: 0; background: linear-gradient(-90deg, #050508, transparent); }

.rm-row { overflow: hidden; padding: 8px 0; }
.rm-track {
  display: flex; gap: 14px; width: max-content;
  animation: rmScroll 50s linear infinite;
  will-change: transform;
}
.rm-row-2 .rm-track { animation: rmScrollReverse 58s linear infinite; }
.rm-track:hover { animation-play-state: paused; }

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

.rm-tile {
  flex: 0 0 auto;
  width: 280px; height: 180px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 8px 28px -10px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.rm-tile::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.rm-tile:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 22px 50px -12px rgba(244,123,32,0.5), inset 0 1px 0 rgba(255,255,255,0.5);
}
.rm-tile img {
  position: relative; z-index: 2;
  max-width: 78%; max-height: 68%;
  object-fit: contain;
  transition: transform .45s var(--ease-out);
}
.rm-tile:hover img { transform: scale(1.06); }
.rm-tile-name {
  position: relative; z-index: 2;
  color: var(--apt-navy);
  font-weight: 800; font-size: 20px;
  letter-spacing: .3px; text-align: center;
}
.rm-tile.is-dark .rm-tile-name { color: #fff; }

@media (max-width: 720px) {
  .rm-tile { width: 200px; height: 140px; padding: 18px; }
  .rm-tile-name { font-size: 16px; }
  .rich-marquee::before, .rich-marquee::after { width: 80px; }
}

/* ── CLIENT GRID ── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  border-radius: var(--r-xl); overflow: hidden;
  max-width: 1080px; margin: 52px auto 0;
}
.client-card {
  background: var(--white);
  padding: 28px 16px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.client-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--apt-orange), var(--apt-teal));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
  pointer-events: none;
  z-index: 2;
}
.client-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(244, 123, 32, 0.18) 0%,
    rgba(0, 180, 166, 0.08) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.client-card > * { position: relative; z-index: 1; }
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px -14px rgba(27, 63, 160, 0.22);
  z-index: 3;
}
.client-card:hover::before { transform: scaleX(1); }
.client-card:hover::after  { opacity: 1; }
.client-logo {
  width: 100%; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.client-logo img {
  max-height: 40px; max-width: 90px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter .35s var(--ease-out), transform .5s var(--ease-out);
}
.client-card:hover .client-logo img { filter: grayscale(0%); transform: scale(1.06); }
.client-name { font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.3; }
.client-sector { font-size: 10.5px; color: var(--muted); }

/* ── PRESENCE ── */
.presence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--r-xl); overflow: hidden;
  max-width: 1080px; margin: 52px auto 0;
}
.presence-card {
  padding: 52px 40px;
  background: var(--gray-8);
  transition: all .4s var(--ease-out);
  position: relative;
}
.presence-card:hover {
  background: var(--black); color: white;
  transform: scale(1.02);
  border-radius: var(--r-xl);
  z-index: 2;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.presence-card:hover .p-city,
.presence-card:hover .p-addr,
.presence-card:hover .p-phone { color: rgba(255,255,255,0.6); }
.p-flag   { font-size: 44px; margin-bottom: 22px; display: block; }
.p-country { font-size: 22px; font-weight: 800; letter-spacing: -.025em; margin-bottom: 5px; }
.p-city   { font-size: 14px; color: var(--apt-teal); font-weight: 600; margin-bottom: 16px; }
.p-addr   { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.p-phone  { font-size: 14px; color: var(--apt-navy); font-weight: 600; text-decoration: none; }
.presence-card:hover .p-phone { color: var(--apt-orange); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 60vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 120px clamp(20px, 5vw, 80px) 72px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--black);
}
.page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(27,63,160,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(244,123,32,0.2) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 1080px;
  margin: 0 auto; width: 100%;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ── FOOTER ── */
.apt-footer {
  background: var(--gray-8);
  border-top: 1px solid var(--border);
  padding: 52px clamp(20px, 5vw, 80px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1080px; margin: 0 auto 48px;
}
.footer-brand-logo { height: 30px; width: auto; object-fit: contain; margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 240px; font-weight: 300; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.fs-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s;
  text-decoration: none;
}
.fs-icon svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.fs-icon:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 10px 22px rgba(0,0,0,0.45); }
.fs-facebook  { background: #1877F2; }
.fs-instagram { background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%); }
.fs-whatsapp  { background: #25D366; }
.fs-tiktok    { background: #161616; border: 1px solid rgba(255,255,255,0.12); }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--black); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: var(--muted);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--black); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  max-width: 1080px; margin: 0 auto;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--muted); transition: color .2s; }
.footer-legal a:hover { color: var(--black); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  position: fixed; top: 52px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  z-index: 199;
  flex-direction: column; padding: 32px 24px; gap: 4px;
  border-top: 1px solid var(--border);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 20px; font-weight: 600;
  color: var(--black); padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-drawer a:hover { color: var(--apt-navy); }
.mobile-drawer .mob-cta {
  background: var(--apt-navy); color: white;
  padding: 16px 24px; border-radius: var(--r-pill);
  text-align: center; margin-top: 16px; border: none; font-size: 16px;
}

/* ── SCROLL PROGRESS ── */
.scroll-bar {
  position: fixed; top: 52px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--apt-orange), var(--apt-teal));
  transform-origin: left; transform: scaleX(0);
  z-index: 199; pointer-events: none;
  transition: none;
}

/* ── UTILS ── */
.gap-4  { gap: 4px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.wrap { flex-wrap: wrap; }
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-12 { margin-bottom: 12px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tiles-grid { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .partners-row { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: block; }
  .sol-row { grid-template-columns: 1fr; gap: 32px; }
  .sol-row.flip { direction: ltr; }
  .presence-grid { grid-template-columns: 1fr; }
  .partners-row { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 24px; width: 50%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .partners-row { grid-template-columns: 1fr; }
}
