/* ═══════════════════════════════════════════════
   VIITAR — Premium Biotech Advisory Website
   CSS: Design System, Layout, Components
   Font: Inter only (no mixed typefaces)
   Layout: Left-aligned editorial, not over-centered
═══════════════════════════════════════════════ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #08111f;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* ─── DESIGN TOKENS ───────────────────────────── */
:root {
  --navy:       #08111f;
  --navy-2:     #0d1b2e;
  --navy-3:     #112240;
  --teal:       #00c2a8;
  --teal-dim:   rgba(0, 194, 168, 0.15);
  --teal-glow:  rgba(0, 194, 168, 0.35);
  --white:      #ffffff;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --border:     rgba(255,255,255,0.08);

  /* Type scale — fixed rem only, no vw */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  1.875rem;  /* 30px */
  --fs-3xl:  2.25rem;   /* 36px */
  --fs-4xl:  2.75rem;   /* 44px */
  --fs-5xl:  3.25rem;   /* 52px */

  --radius: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CUSTOM CURSOR ───────────────────────────── */
#cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
  opacity: 0.5;
}

body.cursor-hover #cursor-dot { width: 10px; height: 10px; }
body.cursor-hover #cursor-ring { width: 44px; height: 44px; opacity: 0.8; }

@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ─── SCROLL PROGRESS ─────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--teal);
  z-index: 10000;
  width: 0%;
  box-shadow: 0 0 8px var(--teal-glow);
  transition: width 0.1s linear;
}

/* ─── CONTAINER ───────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  background: #00d9bc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--teal-glow);
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: var(--fs-base); }
.btn-sm { padding: 10px 20px; font-size: var(--fs-xs); }
.btn-full { width: 100%; justify-content: center; }

/* ─── GLASS CARD ──────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ─── SECTION COMPONENTS ──────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-tag.light { color: rgba(255,255,255,0.85); }
.section-tag.light::before { background: rgba(255,255,255,0.6); }

.section-header {
  margin-bottom: 56px;
}
.section-header .section-title { max-width: 600px; }
.section-header .section-desc { max-width: 560px; margin-top: 16px; color: var(--text-muted); }

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ─── REVEAL ANIMATIONS ───────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ─── NAVBAR ──────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 5000;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(8, 17, 31, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 18px;
}
.nav-cta:hover {
  background: #00d9bc;
  box-shadow: 0 4px 16px var(--teal-glow);
}

/* ─── LANGUAGE SWITCHER ───────────────────────── */
.lang-switcher {
  position: relative;
  margin-left: 24px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--teal); color: var(--teal); }
.lang-globe { font-size: 15px; line-height: 1; }
.lang-arrow { font-size: 9px; transition: transform 0.2s; }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(13, 27, 46, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  list-style: none;
  min-width: 160px;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: var(--teal-dim); color: var(--white); }
.lang-option.active { color: var(--teal); font-weight: 700; }
@media (max-width: 768px) { .lang-switcher { display: none; } }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 17, 31, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu li { margin-bottom: 28px; }

/* Mobile language switcher */
.mobile-lang-switcher {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  width: 100%;
  text-align: center;
}
.mobile-lang-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mobile-lang-label i { margin-right: 6px; color: var(--teal); }
.mobile-lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.mobile-lang-btn {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mobile-lang-btn:hover,
.mobile-lang-btn.active {
  background: rgba(0,194,168,0.15);
  border-color: var(--teal);
  color: var(--teal);
}
.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }

.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 32px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-close:hover { color: var(--teal); }

/* ─── HERO ────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 17, 31, 0.92) 0%,
    rgba(8, 17, 31, 0.72) 50%,
    rgba(8, 17, 31, 0.50) 100%
  );
  z-index: 1;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,194,168,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,168,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}
@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero-text { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: rgba(0,194,168,0.1);
  border: 1px solid rgba(0,194,168,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: badge-pulse 2s infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--teal-glow); }
  50%       { box-shadow: 0 0 0 5px transparent; }
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-5xl);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.typed-text {
  background: linear-gradient(90deg, var(--teal), #7ee8e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.typed-cursor {
  color: var(--teal);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-headline-sub {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--white);
}

.hero-desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  padding: 20px 24px;
  text-align: left;
}
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--teal);
}
.stat-suffix {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--teal);
}
.stat-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── MARQUEE ─────────────────────────────────── */
.marquee-strip {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track span {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.marquee-track .sep { color: var(--teal); }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── ABOUT ───────────────────────────────────── */
#about {
  padding: 120px 0;
  background: var(--navy);
}

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

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-accent {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(8,17,31,0.9);
}
.about-accent-inner { position: relative; }
.about-badge-spin {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  animation: spin-slow 14s linear infinite;
}
.badge-ring text {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  fill: var(--teal);
  letter-spacing: 2.5px;
  font-weight: 700;
}
.badge-center {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  z-index: 1;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.about-content { padding-right: 20px; }

.about-lead {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 500;
}
.about-body {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pillar i {
  font-size: 18px;
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}
.pillar div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pillar strong {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--white);
}
.pillar span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ─── SERVICES ────────────────────────────────── */
#services {
  padding: 120px 0;
  background: var(--navy-2);
}

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

.service-card {
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  transition-delay: var(--delay, 0ms);
}
.service-card:hover {
  border-color: rgba(0,194,168,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,194,168,0.15);
}

.service-icon-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-svg-ring {
  position: absolute;
  inset: 0;
  width: 60px;
  height: 60px;
}
.ring-bg { fill: none; stroke: rgba(0,194,168,0.1); stroke-width: 2; }
.ring-fill {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 1s ease;
}
.service-card.visible .ring-fill { stroke-dashoffset: 40; }
.service-icon {
  font-size: 22px;
  color: var(--teal);
  z-index: 1;
}

.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* ─── PORTFOLIO ───────────────────────────────── */
#portfolio {
  padding: 120px 0;
  background: var(--navy);
}

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

.portfolio-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  transition-delay: var(--delay, 0ms);
  transform-style: preserve-3d;
  perspective: 800px;
}
.portfolio-card:hover {
  border-color: rgba(0,194,168,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: translateY(-6px);
}

.port-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.port-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .port-img-wrap img { transform: scale(1.06); }
.port-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,17,31,0.85) 100%);
}

.port-body {
  padding: 20px 20px 24px;
}
.port-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--teal);
  background: rgba(0,194,168,0.1);
  border: 1px solid rgba(0,194,168,0.2);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.port-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
}
.port-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.port-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.port-meta span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.port-meta i { color: var(--teal); font-size: 10px; }
.port-status {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.port-status.active { color: var(--teal) !important; }

/* Coming soon card */
.portfolio-coming {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-3);
  border: 2px dashed rgba(0,194,168,0.25);
  min-height: 300px;
}
.coming-inner {
  text-align: center;
  padding: 32px 24px;
}
.coming-icon {
  font-size: 36px;
  color: var(--teal);
  margin-bottom: 16px;
  opacity: 0.6;
}
.coming-inner h3 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.coming-inner p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ─── PORTFOLIO CONFIDENTIALITY NOTICE ─────────── */
.portfolio-confidentiality {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(0, 194, 168, 0.06);
  border: 1px solid rgba(0, 194, 168, 0.2);
  border-radius: var(--radius);
}
.portfolio-confidentiality i {
  color: var(--teal);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}
.portfolio-confidentiality p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}
.portfolio-confidentiality strong {
  color: var(--text);
  font-weight: 600;
}
.portfolio-confidentiality a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.portfolio-confidentiality a:hover { opacity: 0.75; }

/* ─── MARKETS ─────────────────────────────────── */
#markets {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.markets-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.markets-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,17,31,0.82);
}
.markets-content { position: relative; z-index: 2; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.market-tile {
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  transition-delay: var(--delay, 0ms);
}
.market-tile:hover {
  border-color: rgba(0,194,168,0.35);
  transform: translateY(-4px);
}
.flag { font-size: 32px; display: block; margin-bottom: 10px; }
.market-tile strong {
  font-family: 'Inter', sans-serif;
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.market-tile span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ─── WHY VIITAR ──────────────────────────────── */
#why-viitar {
  padding: 120px 0;
  background: var(--navy-2);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 28px;
  transition: var(--transition);
  transition-delay: var(--delay, 0ms);
}
.why-card:hover {
  border-color: rgba(0,194,168,0.3);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 28px;
  color: var(--teal);
  margin-bottom: 20px;
}
.why-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── CTA BANNER ──────────────────────────────── */
#cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,17,31,0.82);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 640px;
}
.cta-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-content p {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ─── CONTACT ─────────────────────────────────── */
#contact {
  padding: 120px 0;
  background: var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-base);
  color: var(--text);
}
.contact-item i {
  width: 36px; height: 36px;
  background: var(--teal-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 15px;
  flex-shrink: 0;
}
.contact-item a:hover { color: var(--teal); }

.contact-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}

/* Form */
.contact-form-wrap { padding: 40px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: var(--teal); }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  color: var(--text);
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148,163,184,0.5);
}
.form-group select { color: var(--text-muted); }
.form-group select option { background: var(--navy-2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-error {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  color: #f87171;
  min-height: 18px;
}

.form-success {
  margin-top: 16px;
  padding: 16px;
  background: rgba(0,194,168,0.1);
  border: 1px solid rgba(0,194,168,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-success i { font-size: 18px; }

/* ─── FOOTER ──────────────────────────────────── */
#footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 5px;
}
.footer-logo span {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 300px;
}
.footer-email {
  font-size: var(--fs-sm);
  color: var(--teal);
  font-weight: 600;
  transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.75; }

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ─── BACK TO TOP ─────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px var(--teal-glow);
}
#back-to-top.show {
  opacity: 1;
  pointer-events: all;
}
#back-to-top:hover { transform: translateY(-3px); }

/* ════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════════════════ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid   { grid-template-columns: repeat(4, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid   { gap: 48px; }
  .about-grid     { gap: 60px; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --fs-3xl: 1.875rem; /* 30px */
    --fs-4xl: 2.25rem;  /* 36px */
    --fs-5xl: 2.5rem;   /* 40px */
  }

  body { cursor: auto; }

  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-inner {
    padding: 0 20px;
    height: 64px;
  }

  /* Hero */
  #hero { padding-top: 64px; }
  .hero-content { padding: 60px 20px 80px; gap: 40px; }
  .hero-headline { font-size: var(--fs-4xl); }
  .hero-headline-sub { font-size: var(--fs-3xl); }
  .hero-desc { font-size: var(--fs-base); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; }
  .stat-item { min-width: unset; }

  /* About */
  #about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .about-content { padding-right: 0; }

  /* Services */
  #services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Portfolio */
  #portfolio { padding: 80px 0; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Markets */
  #markets { padding: 80px 0; }
  .markets-bg { background-attachment: scroll; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Why */
  #why-viitar { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  /* CTA */
  #cta-banner { padding: 72px 0; }
  .cta-bg { background-attachment: scroll; }
  .cta-content h2 { font-size: var(--fs-3xl); }

  /* Contact */
  #contact { padding: 80px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  #back-to-top { bottom: 20px; right: 20px; }

  .section-header { margin-bottom: 36px; }
}

/* Small (≤ 480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 24px 20px; }
}
