/* ==========================================================
   StarNex – style.css  (Light Theme)
   Brand palette:
     Red accent  → #C8152A
     Dark gray   → #1A1A2E  (headings)
     Mid gray    → #6B7280  (body text)
     Light bg    → #F8F9FA / #FFFFFF
   ========================================================== */

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

/* ── CSS Variables ── */
:root {
  /* Brand */
  --red:          #C8152A;
  --red-hover:    #A8101E;
  --red-muted:    rgba(200,21,42,0.08);
  --red-muted-border: rgba(200,21,42,0.18);
  --silver:       #9CA3AF;
  --silver-light: #6B7280;

  /* Surface – LIGHT */
  --bg:           #F8F9FA;
  --bg-white:     #FFFFFF;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #F1F3F5;
  --bg-section:   #F3F4F6;
  --bg-dark:      #111827;
  --bg-dark-card: #1F2937;
  --bg-dark-elevated: #374151;

  /* Type – LIGHT */
  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;
  --text-on-dark:   #F9FAFB;
  --text-on-dark-muted: #D1D5DB;

  /* Headings */
  --heading-primary: #111827;
  --heading-accent:  #C8152A;

  /* Borders */
  --border:        rgba(0,0,0,0.08);
  --border-medium: rgba(0,0,0,0.12);
  --border-hover:  rgba(200,21,42,0.35);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* Radii & spacing */
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows – lighter for white bg */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-red:  0 8px 32px rgba(200,21,42,0.22);

  /* Transitions */
  --ease: cubic-bezier(0.22,0.61,0.36,1);
  --dur:  0.28s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section padding ── */
.section-pad { padding: 96px 0; }

/* Alternating sections use white and light gray. */
.dark-section {
  background: var(--bg-section);
  color: var(--text-primary);
}

/* ── Typography ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-muted);
  border: 1px solid var(--red-muted-border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-badge.light {
  color: var(--red);
  background: var(--red-muted);
  border-color: var(--red-muted-border);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--heading-primary);
  margin-bottom: 16px;
}
.section-heading.light { color: var(--text-primary); }

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub.light { color: var(--text-secondary); }

.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.text-gradient {
  background: linear-gradient(135deg, var(--red) 0%, #E8455A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-light {
  background: linear-gradient(135deg, #da0016 0%, #a90000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 2px 12px rgba(200,21,42,0.25);
}
.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn-ghost {
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  background: var(--bg-white);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-muted);
}
.btn-ghost-dark {
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  padding: 10px 22px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.btn-ghost-dark:hover { border-color: #FCA5A5; color: #FCA5A5; }
.btn-nav {
  background: var(--red);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}
.btn-nav:hover { background: var(--red-hover); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR – white on light bg
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(248,249,250,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
  padding: 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  border-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 36px; height: 36px;
  object-fit: contain;
  border-radius: 6px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bg-dark);
}
.logo-accent { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-secondary);
  transition: color var(--dur);
  position: relative;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--dur) var(--ease);
}
.nav-links a:not(.btn-nav):hover { color: var(--text-primary); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.22s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 0 24px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 12px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--dur);
}
.mobile-link:hover { color: var(--text-primary); }
.mobile-cta {
  margin: 12px 24px 0;
  background: var(--red);
  color: #fff !important;
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 13px 24px;
}

/* ============================================================
   HERO – light bg
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  background: var(--bg-white);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.shape-1 {
  width: 600px; height: 600px;
  background: rgba(200,21,42,0.07);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: rgba(107,114,128,0.06);
  bottom: -100px; left: -80px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: rgba(200,21,42,0.05);
  bottom: 20%; right: 20%;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(540px, 0.98fr) minmax(500px, 1.02fr);
  gap: 24px;
  align-items: center;
  padding: 64px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--heading-primary);
}

.hero-subheadline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  box-shadow: var(--shadow-card);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
}
.trust-number {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--heading-primary);
  line-height: 1;
}
.trust-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 3px;
  text-transform: uppercase;
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;

}
.hero-device-stage {
  position: relative;
  width: min(840px, 125%);
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device-stage::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 76%;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(17,24,39,0.16), rgba(17,24,39,0.035) 60%, transparent 74%);
  filter: blur(6px);
  opacity: 0.62;
  z-index: 0;
}
.hero-devices-img {
  position: relative;
  z-index: 1;
  width: min(940px, 142%);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 26px rgba(17,24,39,0.18));
  transform-origin: 52% 58%;
  animation: hero-device-float 9s ease-in-out infinite;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-visual:hover .hero-devices-img {
  transform: scale(1.6) translate3d(6px, -12px, 0);
  filter: drop-shadow(0 38px 35px rgba(17,24,39,0.25));
}
@keyframes hero-device-float {
  0%, 100% {
    transform: translate3d(6px, -12px, 0) scale(1.08);
  }
  50% {
    transform: translate3d(6px, -28px, 0) scale(1.08);
  }
}
@keyframes hero-device-float-hover {
  0%, 100% {
    transform: translate3d(6px, -12px, 0) scale(1.16);
  }
  50% {
    transform: translate3d(6px, -28px, 0) scale(1.16);
  }
}
.hero-laptop-frame {
  position: relative;
  width: 430px;
  aspect-ratio: 16 / 10;
  border: 12px solid #171923;
  border-bottom-width: 18px;
  border-radius: 18px;
  background: transparent;
  box-shadow: var(--shadow-card-hover);
}
.hero-laptop-frame::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 40px;
  width: 310px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #D1D5DB;
  box-shadow: 0 10px 28px rgba(17,24,39,0.12);
}
.hero-image-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(248,249,250,0.72)),
    repeating-linear-gradient(135deg, rgba(200,21,42,0.08) 0 10px, transparent 10px 20px);
}
.hero-phone-frame {
  position: absolute;
  right: 12px;
  bottom: 38px;
  width: 122px;
  aspect-ratio: 9 / 18;
  border: 9px solid #171923;
  border-radius: 28px;
  background: transparent;
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.hero-phone-frame::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 36px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #171923;
  z-index: 2;
}
.hero-phone-slot { padding: 18px 10px; font-size: 0.68rem; }
.hero-mockup { position: relative; z-index: 1; }
.mockup-browser {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: 340px;
  box-shadow: var(--shadow-card-hover);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
}
.browser-dots span:nth-child(1) { background: #FF5F56; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #27C93F; }
.browser-url {
  flex: 1;
  background: var(--bg-white);
  border-radius: 4px;
  height: 20px;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--border);
}
.mockup-content { padding: 14px; }
.mockup-hero-bar {
  height: 10px;
  background: linear-gradient(90deg, var(--red) 0%, rgba(200,21,42,0.2) 100%);
  border-radius: 4px;
  margin-bottom: 8px;
}
.mockup-nav {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  margin-bottom: 12px;
  width: 60%;
}
.mockup-blocks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mockup-block {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-elevated);
  flex: 0 0 30%;
}
.mockup-block.wide { flex: 0 0 55%; }
.mockup-block.medium { flex: 0 0 40%; }
.mockup-cards { display: flex; gap: 6px; }
.mockup-card {
  flex: 1;
  height: 44px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.hero-card-float {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card-hover);
  z-index: 2;
  animation: float-card 4s ease-in-out infinite;
}
.card-1 { top: -20px; left: -40px; animation-delay: 0s; }
.card-2 { bottom: -20px; right: -40px; animation-delay: 2s; }
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.red-icon   { background: var(--red-muted); color: var(--red); }
.green-icon { background: rgba(39,201,63,0.1); color: #16A34A; }
.card-title { font-size: 0.7rem; color: var(--text-muted); }
.card-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   CLIENTS STRIP
   ============================================================ */
.clients-strip {
  padding: 28px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.clients-track { overflow: hidden; }
.clients-inner {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-pill {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 380px;
  box-shadow: var(--shadow-card);
}
.about-accent-card {
  position: absolute;
  top: -18px; left: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  color: var(--red);
  box-shadow: var(--shadow-card-hover);
}
.about-accent-card svg { flex-shrink: 0; }
.accent-card-title { font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.accent-card-sub   { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

.about-stats-card {
  position: absolute;
  bottom: -18px; right: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-card-hover);
}
.stat-row { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-secondary); }
.stat-dot { width: 6px; height: 6px; border-radius: 50%; }
.stat-dot.red  { background: var(--red); }
.stat-dot.gray { background: var(--silver); }

.about-code-snippet {
  display: flex; flex-direction: column; gap: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 20px;
  margin-top: 60px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.code-line { color: var(--text-secondary); }
.code-kw { color: var(--red); }
.code-str { color: #16A34A; }

.about-text {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-pillars { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur), box-shadow var(--dur);
  box-shadow: var(--shadow-sm);
}
.pillar:hover { border-color: var(--red-muted-border); box-shadow: var(--shadow-card); }
.pillar-icon { font-size: 1.3rem; flex-shrink: 0; }
.pillar-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 3px; color: var(--text-primary); }
.pillar-desc  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   SERVICES  – dark section
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.service-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
  border-color: var(--red-muted-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.service-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(200,21,42,0.12);
  border: 1px solid rgba(200,21,42,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #FCA5A5;
  margin-bottom: 18px;
}
.service-title { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.service-desc  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0; }
.service-link  { font-size: 0.82rem; color: #FCA5A5; font-weight: 500; transition: gap var(--dur); display: inline-flex; gap: 4px; align-items: center; }
.service-link:hover { gap: 8px; }

.featured-service {
  border-color: var(--red-muted-border);
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(200,21,42,0.06) 100%);
  box-shadow: var(--shadow-card);
}
.featured-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pricing-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.pricing-featured {
  border-color: var(--red-muted-border);
  box-shadow: var(--shadow-card);
  transform: translateY(-8px);
}
.pricing-card h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}
.pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}
.pricing-card li {
  position: relative;
  padding-left: 20px;
}
.pricing-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   WHY – light section
   ============================================================ */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}
.why-card:hover {
  border-color: var(--red-muted-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.why-icon { font-size: 1.6rem; margin-bottom: 14px; }
.why-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.why-card p  { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   PROCESS – dark section
   ============================================================ */
.process-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.process-step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 8px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(213, 0, 25, 0.72);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 6px 18px rgba(200,21,42,0.12);
}
.step-icon { font-size: 1.5rem; margin-bottom: 10px; }
.step-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.step-desc  { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.6; }

.process-connector {
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(200,21,42,0.2));
  margin-top: 38px;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   PORTFOLIO – light
   ============================================================ */
.portfolio { background: var(--bg); }
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 36px 0;
}
.filter-btn {
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: all var(--dur);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur), box-shadow var(--dur);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.portfolio-img {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.portfolio-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.portfolio-info { padding: 18px 20px; }
.portfolio-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 6px;
}
.portfolio-name { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.portfolio-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.55; }

.portfolio-showcase {
  position: relative;
  min-height: 610px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  background: transparent;
  border: 0;
  overflow: visible;
}
.portfolio-float {
  position: absolute;
  width: min(540px, 52%);
  filter: drop-shadow(0 28px 34px rgba(17,24,39,0.18));
}
.portfolio-float.project-a { left: 3%; top: 42px; z-index: 3; transform: rotate(-3deg); }
.portfolio-float.project-b { right: 3%; top: 124px; z-index: 2; transform: rotate(2.5deg); }
.portfolio-float.project-c { left: 27%; bottom: 42px; z-index: 4; transform: rotate(-1deg); }
.desktop-shot {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 12px solid #101217;
  border-bottom-width: 16px;
  border-radius: 20px 20px 14px 14px;
  background: #101217;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 16px 30px rgba(17,24,39,0.16);
}
.desktop-shot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -8px;
  width: 62px;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 0 0 9px 9px;
  background: #050608;
  pointer-events: none;
  z-index: 2;
}
.desktop-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.20), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 36%);
  pointer-events: none;
  z-index: 2;
}
.laptop-device {
  transform-style: preserve-3d;
}
.laptop-device + .mobile-shot {
  z-index: 5;
}
.portfolio-float::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 76%;
  height: 34px;
  transform: translateX(-50%) perspective(260px) rotateX(58deg);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(180deg, #D8DCE1 0%, #A9B0B8 55%, #737B84 100%);
  box-shadow: 0 22px 26px rgba(17,24,39,0.15);
  z-index: -1;
}
.portfolio-float::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 22%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,0.72);
  z-index: 1;
}
.desktop-shot img,
.mobile-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mobile-shot {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: 118px;
  aspect-ratio: 9 / 18;
  border: 7px solid #101217;
  border-radius: 28px;
  background: #101217;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 18px 34px rgba(17,24,39,0.26);
}
.mobile-shot::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 42px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050608;
  z-index: 2;
}
.mobile-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(255,255,255,0.18), transparent 26%);
  pointer-events: none;
  z-index: 2;
}
.project-b .mobile-shot { left: -20px; right: auto; bottom: -22px; }
.project-c .mobile-shot { right: -8px; bottom: -18px; }

.portfolio-cta {
  text-align: center;
  margin-top: 48px;
}
.portfolio-cta p { color: var(--text-secondary); margin-bottom: 18px; }

.portfolio-cta a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: gap var(--dur);
}

/* ============================================================
   LOCATION – light section
   ============================================================ */
.location { background: var(--bg-white); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.location-content .section-heading { margin-bottom: 14px; }
.location-content p {
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 24px;
}
.location-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.location-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.location-item svg { color: var(--red); flex-shrink: 0; }
.service-areas { margin-top: 4px; }
.service-areas strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}
.areas-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag {
  background: var(--red-muted);
  border: 1px solid var(--red-muted-border);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Virtual Office Card ── */
.virtual-office { display: flex; align-items: stretch; }

.virtual-office .map-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(200,21,42,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(107,114,128,0.06) 0%, transparent 60%),
    var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-hover);
  min-height: 380px;
}


/* soft glow pulse in the centre */
.virtual-office .map-placeholder::after {
  content: '';
  position: absolute;
  left: 50%; top: 40%;
  width: 220px; height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,21,42,0.10) 0%, transparent 70%);
  animation: glow-pulse 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 44px 44px, 44px 44px; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.18); }
}

.virtual-office .map-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 380px;
  padding: 40px 32px;
  gap: 0;
}

/* pin emoji wrapper with ring animation */
.map-pin.virtual {
  width: 72px; height: 72px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-card), 0 0 0 0 rgba(200,21,42,0.18);
  animation: pin-ring 2.8s ease-in-out infinite;
  margin-bottom: 20px;
  flex-shrink: 0;
}
@keyframes pin-ring {
  0%   { box-shadow: var(--shadow-card), 0 0 0 0   rgba(200,21,42,0.22); }
  60%  { box-shadow: var(--shadow-card), 0 0 0 16px rgba(200,21,42,0); }
  100% { box-shadow: var(--shadow-card), 0 0 0 0   rgba(200,21,42,0); }
}

.office-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--heading-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}
.office-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
}

.office-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.office-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.office-tags span:hover {
  border-color: var(--red-muted-border);
  color: var(--red);
  background: var(--red-muted);
}

/* the CTA button inside the card – override .btn-ghost to stay visible on white */
.virtual-office .btn-ghost {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-white);
  font-size: 0.84rem;
  padding: 11px 24px;
}
.virtual-office .btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-muted);
}

/* ============================================================
   CONTACT – dark
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-intro { color: var(--text-secondary); line-height: 1.72; margin-bottom: 28px; }
.contact-benefits { display: flex; flex-direction: column; gap: 10px; }
.benefit-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-secondary);
}
.benefit-check { color: var(--red); font-weight: 700; font-size: 1rem; }

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card-hover);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.required { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 11px 14px;
  transition: border-color var(--dur), background var(--dur);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--bg-white);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--bg-white); color: var(--text-primary); }
.field-error { font-size: 0.75rem; color: var(--red); min-height: 16px; }
.form-success[hidden] {
  display: none !important;
}

.form-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 24px;
  color: #16A34A;
}
.form-success strong { font-size: 1rem; }
.form-success p { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================================
   FOOTER – dark
   ============================================================ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-dark);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-logo .logo-text { color: #FFFFFF; }
.footer-logo .logo-accent { color: #FCA5A5; }
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 20px;
  max-width: 240px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur), border-color var(--dur);
}
.social-links a:hover { color: #FCA5A5; border-color: rgba(200,21,42,0.4); }
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-nav ul,
.footer-services ul { display: flex; flex-direction: column; gap: 9px; }
.footer-nav a,
.footer-services a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur);
}
.footer-nav a:hover,
.footer-services a:hover { color: #FCA5A5; }
.footer-contact address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.83rem; color: rgba(255,255,255,0.55);
}
.footer-contact-item svg { color: #FCA5A5; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color var(--dur); }
.footer-legal a:hover { color: #FCA5A5; }

/* ============================================================
   WHATSAPP / BACK TO TOP
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 800;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--dur), box-shadow var(--dur);
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur);
  box-shadow: var(--shadow-card);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

.back-to-top {
  position: fixed;
  bottom: 88px; right: 24px;
  z-index: 800;
  width: 40px; height: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: color var(--dur), border-color var(--dur);
}
.back-to-top:hover { color: var(--red); border-color: var(--red-muted-border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-subheadline   { margin: 0 auto 36px; }
  .hero-actions       { justify-content: center; }
  .hero-trust         { margin: 0 auto; }
  .hero-visual        { display: flex; }
  .hero-device-stage  { width: min(720px, 100%); min-height: 420px; }
  .hero-devices-img   { width: min(760px, 112%); }
  .about-grid         { grid-template-columns: 1fr; gap: 48px; }
  .about-visual       { order: -1; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid       { grid-template-columns: 1fr; }
  .pricing-featured   { transform: none; }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid     { grid-template-columns: repeat(2, 1fr); }
  .portfolio-showcase { min-height: auto; padding: 28px; display: grid; gap: 36px; }
  .portfolio-float    { position: relative; width: 100%; inset: auto !important; transform: none !important; }
  .portfolio-float::after { bottom: -24px; height: 26px; }
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 32px; }
  .location-grid      { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .hero-inner    { padding: 48px 0; }
  .hero-headline { font-size: 2.2rem; }
  .hero-device-stage { min-height: 320px; width: 100%; }
  .hero-device-stage::before { bottom: 34px; width: 78%; height: 34px; }
  .hero-devices-img {
    width: min(560px, 120%);
    animation-duration: 9s;
  }
  .hero-trust    { flex-direction: column; gap: 0; width: 100%; }
  .trust-divider { width: 100%; height: 1px; }
  .trust-item    { flex-direction: row; gap: 12px; }
  .services-grid     { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .portfolio-showcase { padding: 20px; gap: 30px; overflow: hidden; }
  .portfolio-float::after { bottom: -18px; height: 20px; }
  .mobile-shot       { width: 82px; right: -8px; bottom: -18px; border-width: 6px; }
  .project-b .mobile-shot { left: -8px; bottom: -18px; }
  .process-timeline  { flex-direction: column; align-items: center; }
  .process-connector { display: none; }
  .process-step      { max-width: 320px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 40px; }
  .form-row          { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-inner      { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 24px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .about-img-wrap    { min-height: 260px; }
  .about-accent-card { position: static; margin-bottom: 12px; }
  .about-stats-card  { position: static; margin-top: 12px; }
  .virtual-office .map-placeholder { min-height: 320px; }
  .virtual-office .map-overlay     { min-height: 320px; padding: 28px 20px; }
  .map-pin.virtual { width: 58px; height: 58px; font-size: 1.6rem; }
  .office-title { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.9rem; }
  .section-heading { font-size: 1.7rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-device-stage { min-height: 250px; }
  .hero-devices-img {
    width: min(430px, 116%);
    animation-name: hero-device-float-mobile;
  }
  .portfolio-filters { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.78rem; }
}

@keyframes hero-device-float-mobile {
  0%, 100% {
    transform: translate3d(0, -8px, 0) scale(1.02);
  }
  50% {
    transform: translate3d(0, -20px, 0) scale(1.02);
  }
}

@keyframes hero-device-float-mobile-hover {
  0%, 100% {
    transform: translate3d(0, -8px, 0) scale(1.08);
  }
  50% {
    transform: translate3d(0, -20px, 0) scale(1.08);
  }
}

@media (max-width: 480px) {
  .hero-visual:hover .hero-devices-img,
  .hero-device-stage:hover .hero-devices-img,
  .hero-devices-img:hover {
    animation-name: hero-device-float-mobile-hover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-device-stage,
  .hero-devices-img {
    animation: none;
  }
  .hero-devices-img {
    transform: translateX(28px) scale(1.08);
  }
  .virtual-office .map-placeholder::before,
  .virtual-office .map-placeholder::after,
  .map-pin.virtual {
    animation: none;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fadeUp,
.animate-fadeIn,
.animate-slideLeft,
.animate-slideRight {
  opacity: 0;
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-property: opacity, transform;
  transition-delay: var(--delay, 0s);
}
.animate-fadeUp    { transform: translateY(32px); }
.animate-fadeIn    { transform: translateY(16px); }
.animate-slideLeft { transform: translateX(40px); }
.animate-slideRight{ transform: translateX(-40px); }

.animate-fadeUp.visible,
.animate-fadeIn.visible,
.animate-slideLeft.visible,
.animate-slideRight.visible {
  opacity: 1;
  transform: none;
}

.hover-lift { transition: transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1); }
.hover-lift:hover { transform: translateY(-4px); }

@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    var(--bg-elevated) 0%,
    rgba(0,0,0,0.03) 50%,
    var(--bg-elevated) 100%
  );
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes pageFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body { animation: pageFade 0.5s ease forwards; }

.portfolio-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.portfolio-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}