/* ===========================
   Katherine Uy Sobremonte – Premium CPA Portfolio
   Neutral-dominant design with emerald green accents
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Design Tokens ── */
:root {
  /* Neutrals – the dominant palette */
  --slate-950: #0c0c0e;
  --slate-900: #18181b;
  --slate-800: #27272a;
  --slate-700: #3f3f46;
  --slate-600: #52525b;
  --slate-500: #71717a;
  --slate-400: #a1a1aa;
  --slate-300: #d4d4d8;
  --slate-200: #e4e4e7;
  --slate-100: #f4f4f5;
  --slate-50:  #fafafa;

  /* Emerald accents – used sparingly */
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  /* Gold – for prestige touches */
  --gold: #c9a227;
  --gold-light: #dfc063;
  --gold-soft: rgba(201,162,39,0.12);

  /* Semantic */
  --bg:          #fafaf9;
  --bg-surface:  #ffffff;
  --bg-elevated: #ffffff;
  --ink:         #18181b;
  --ink-soft:    #3f3f46;
  --muted:       #71717a;
  --border:      rgba(0,0,0,0.08);
  --border-hover:rgba(0,0,0,0.15);

  /* Effects */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.1);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.14);
  --shadow-glow: 0 0 40px rgba(16,185,129,0.15);

  /* Layout */
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-sm:   10px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: 0.2s ease;
  --transition-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg:          #0b120f;
  --bg-surface:  #111a16;
  --bg-elevated: #17241e;
  --ink:         #f4f4f5;
  --ink-soft:    #d4d4d8;
  --muted:       #9ba8a2;
  --border:      rgba(255,255,255,0.08);
  --border-hover:rgba(255,255,255,0.15);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.6);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.7);
}

/* ── Reset ── */
*, *::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: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--slate-700); }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: var(--slate-600); }

::selection { background: var(--emerald-200); color: var(--emerald-700); }
[data-theme="dark"] ::selection { background: rgba(16,185,129,0.3); color: #fff; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Section Typography ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--emerald-500);
  border-radius: 1px;
}
[data-theme="dark"] .section-label { color: var(--emerald-400); }
[data-theme="dark"] .section-label::before { background: var(--emerald-400); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 400;
}

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delay utility */
.reveal[data-delay], .reveal-left[data-delay], .reveal-right[data-delay] {
  transition-delay: calc(var(--delay, 0) * 1ms);
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400), var(--gold));
  z-index: 10001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--ink) 0%, var(--emerald-600) 50%, var(--ink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
[data-theme="dark"] .gradient-text {
  background: linear-gradient(135deg, var(--ink) 0%, var(--emerald-400) 50%, var(--ink) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Typing cursor blink ── */
.typing-cursor::after {
  content: '|';
  margin-left: 2px;
  color: var(--emerald-500);
  animation: blink 1s step-end infinite;
}

/* ── Button shimmer ── */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

/* Transparent state on hero */
#navbar:not(.scrolled) .nav-logo,
#navbar:not(.scrolled) .nav-links a:not(.nav-cta),
#navbar:not(.scrolled) .theme-toggle { color: var(--ink); }
#navbar:not(.scrolled) .nav-logo-sub { color: var(--muted); }
#navbar:not(.scrolled) .hamburger span { background: var(--ink); }
#navbar:not(.scrolled) .nav-logo:hover { color: var(--emerald-600); }
[data-theme="dark"] #navbar:not(.scrolled) .nav-logo:hover { color: var(--emerald-400); }

/* Scrolled state – glass effect */
#navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
[data-theme="dark"] #navbar.scrolled {
  background: rgba(10,10,11,0.88);
  border-bottom-color: rgba(255,255,255,0.06);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--emerald-600); }
.nav-logo span { color: var(--emerald-500); }
.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 0.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--emerald-500);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--emerald-600); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--emerald-600) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all var(--transition) !important;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25) !important;
}
.nav-cta:hover {
  background: var(--emerald-500) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5,150,105,0.35) !important;
}
.nav-cta::after { display: none !important; }

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all var(--transition);
  margin-left: 0.75rem;
}
.theme-toggle:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-200);
  color: var(--emerald-600);
}
[data-theme="dark"] .theme-toggle { border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
  color: var(--emerald-400);
}
#navbar:not(.scrolled) .theme-toggle { border-color: rgba(255,255,255,0.2); }
#navbar:not(.scrolled) .theme-toggle:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Active nav link */
.nav-links a.active {
  color: var(--emerald-600);
}
.nav-links a.active::after { width: 100%; }
[data-theme="dark"] .nav-links a.active { color: var(--emerald-400); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Elegant light background with subtle emerald accent glow */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(16,185,129,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(16,185,129,0.03) 0%, transparent 50%),
    linear-gradient(145deg, var(--bg) 0%, var(--slate-50) 100%);
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(16,185,129,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(16,185,129,0.08) 0%, transparent 50%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-surface) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 20s linear infinite;
}
[data-theme="dark"] .hero-grid {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(16,185,129,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,185,129,0.06) 1px, transparent 1px);
}

/* Floating ambient dots */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
  top: 10%;
  right: 15%;
  animation: float 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
  bottom: 20%;
  left: 10%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 0 6rem;
}

.hero-greeting {
  font-size: 0.85rem;
  color: var(--emerald-600);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInDown 0.7s ease 0.1s both;
}
[data-theme="dark"] .hero-greeting { color: var(--emerald-400); }
.hero-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  animation: fadeInUp 0.7s ease 0.2s both;
  letter-spacing: -0.02em;
}
.hero-role {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.3s both;
  letter-spacing: 0.04em;
}
[data-theme="dark"] .hero-role { color: var(--gold-light); }
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.7s ease 0.35s both;
}
.cred-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-xs);
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s ease 0.45s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 0.55s both;
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emerald-600);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(5,150,105,0.3);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--emerald-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(5,150,105,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--border-hover);
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .btn-ghost:hover { background: var(--bg-elevated); }
.btn-ghost svg { transition: transform 0.3s ease; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* Hero Portrait */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.9s ease 0.4s both;
}
.hero-portrait-wrap {
  position: relative;
  perspective: 800px;
}
.hero-portrait-glow {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--emerald-500), var(--gold), var(--emerald-400));
  opacity: 0.35;
  filter: blur(30px);
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: 0;
}
.hero-portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-surface), var(--bg-surface)) padding-box,
              linear-gradient(135deg, var(--emerald-500), var(--gold), var(--emerald-300)) border-box;
  z-index: 1;
  transition: transform 0.4s ease;
  will-change: transform;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.2);
  pointer-events: none;
  z-index: 0;
}
.hero-ring-1 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  animation: spinSlow 20s linear infinite;
}
.hero-ring-2 {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border-color: rgba(201,162,39,0.15);
  animation: spinSlow 30s linear infinite reverse;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-accent-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 1px solid var(--border);
  animation: floatBadge 5s ease-in-out infinite;
}
.hero-accent-badge .badge-title {
  font-family: 'Playfair Display', serif;
  color: var(--emerald-600);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}
.hero-accent-badge .badge-sub {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}
[data-theme="dark"] .hero-accent-badge {
  background: var(--bg-elevated);
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .hero-accent-badge .badge-title { color: var(--emerald-400); }


/* ══════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════ */
.stats-bar {
  padding: 3.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(16,185,129,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--emerald-600);
  line-height: 1;
  margin-bottom: 0.5rem;
}
[data-theme="dark"] .stat-num { color: var(--emerald-400); }
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ══════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════ */
.marquee-wrap {
  background: var(--slate-900);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
[data-theme="dark"] .marquee-wrap { background: var(--slate-950); }
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--slate-900), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--slate-900), transparent);
}
[data-theme="dark"] .marquee-wrap::before { background: linear-gradient(90deg, var(--slate-950), transparent); }
[data-theme="dark"] .marquee-wrap::after { background: linear-gradient(270deg, var(--slate-950), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.marquee-dot {
  color: var(--emerald-500) !important;
  font-size: 0.5rem !important;
}


/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
#about { padding: 7rem 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .about-img { background: var(--slate-800); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.about-float-1 {
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-lg);
  bottom: 10%;
  left: -8%;
  z-index: 2;
  animation: floatSlow 6s ease-in-out infinite;
}
.about-float-2 {
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-lg);
  top: -5%;
  right: -5%;
  z-index: 2;
  animation: floatSlow 7s ease-in-out infinite reverse;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.about-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--emerald-600);
  line-height: 1;
}
[data-theme="dark"] .about-badge .num { color: var(--emerald-400); }
.about-badge .text {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="dark"] .about-badge {
  background: var(--bg-elevated);
  border-color: rgba(255,255,255,0.08);
}

.about-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 2rem 0; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}
.about-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  border-radius: 6px;
  color: var(--emerald-600);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}
[data-theme="dark"] .about-list li::before {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: var(--emerald-400);
}
.about-list li strong { color: var(--ink); font-weight: 600; }

.credentials-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cred-pill {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.cred-pill:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-200);
  color: var(--emerald-700);
}
[data-theme="dark"] .cred-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--slate-300);
}
[data-theme="dark"] .cred-pill:hover {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.25);
  color: var(--emerald-400);
}


/* ══════════════════════════════════════════
   EXPERTISE / SERVICES
   ══════════════════════════════════════════ */
#services {
  padding: 7rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover {
  border-color: var(--emerald-200);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-6px);
}
[data-theme="dark"] .service-card:hover {
  border-color: rgba(16,185,129,0.2);
}

/* Subtle emerald accent line on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
[data-theme="dark"] .service-icon { background: rgba(255,255,255,0.06); }
.service-card:hover .service-icon {
  background: var(--emerald-50);
  transform: scale(1.08) rotate(-3deg);
}
[data-theme="dark"] .service-card:hover .service-icon { background: rgba(16,185,129,0.12); }
.service-icon svg { color: var(--slate-600); transition: color var(--transition); }
.service-card:hover .service-icon svg { color: var(--emerald-600); }
[data-theme="dark"] .service-icon svg { color: var(--slate-400); }
[data-theme="dark"] .service-card:hover .service-icon svg { color: var(--emerald-400); }

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}


/* ══════════════════════════════════════════
   EXPERIENCE TIMELINE
   ══════════════════════════════════════════ */
#experience {
  padding: 7rem 0;
  background: var(--bg);
}
.experience-header { margin-bottom: 3rem; }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 700px; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 49px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: var(--slate-200);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1s ease;
}
.timeline-item.visible:not(:last-child)::before {
  transform: scaleY(1);
}
[data-theme="dark"] .timeline-item:not(:last-child)::before { background: rgba(255,255,255,0.08); }

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-600);
  text-align: right;
  padding-top: 0.2rem;
  letter-spacing: 0.05em;
}
[data-theme="dark"] .timeline-year { color: var(--emerald-400); }

.timeline-dot {
  position: absolute;
  left: 44px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald-500);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--emerald-200);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.timeline-item.visible .timeline-dot {
  animation: dotPop 0.5s ease both;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--emerald-200), 0 0 12px rgba(16,185,129,0.4);
}
[data-theme="dark"] .timeline-dot {
  border-color: var(--bg);
  box-shadow: 0 0 0 2px rgba(16,185,129,0.2);
}

.timeline-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.timeline-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }


/* ══════════════════════════════════════════
   RECOGNITION & APPROACH
   ══════════════════════════════════════════ */
#recognition {
  padding: 7rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.recognition-header {
  text-align: center;
  margin-bottom: 4rem;
}
.recognition-header .section-label::before { display: none; }
.recognition-header .section-sub { margin: 0 auto; }

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.recognition-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.recognition-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.recognition-card:hover::after { transform: scaleX(1); }
.recognition-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.recognition-icon {
  width: 48px;
  height: 48px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--emerald-600);
  transition: all var(--transition);
}
[data-theme="dark"] .recognition-icon {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: var(--emerald-400);
}
.recognition-card:hover .recognition-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--emerald-100);
}
.recognition-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.recognition-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Process block */
.process-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}
.process-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.process-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.process-header p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.process-step:hover {
  background: var(--bg-surface);
}
[data-theme="dark"] .process-step:hover {
  background: var(--bg-elevated);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--emerald-500);
  line-height: 1;
  opacity: 0.5;
}
.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.step-content p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}


/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900) 0%, #0f2922 50%, var(--slate-900) 100%);
}
[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #060a09 0%, #0d1f18 50%, #060a09 100%);
}
.cta-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(16,185,129,0.15);
  top: -100px;
  right: -50px;
  animation: float 10s ease-in-out infinite;
}
.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(201,162,39,0.1);
  bottom: -80px;
  left: 10%;
  animation: float 12s ease-in-out infinite reverse;
}
.cta-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(16,185,129,0.1);
  top: 50%;
  left: 50%;
  animation: float 8s ease-in-out infinite;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 0.95rem;
  color: var(--slate-400);
  max-width: 480px;
  line-height: 1.8;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  transition: all var(--transition);
  text-align: center;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
#contact {
  padding: 7rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  flex-shrink: 0;
  transition: all var(--transition);
}
.ci-icon:hover {
  background: var(--emerald-50);
  color: var(--emerald-600);
  transform: translateY(-1px);
}
[data-theme="dark"] .ci-icon { background: rgba(255,255,255,0.06); color: var(--slate-400); }
[data-theme="dark"] .ci-icon:hover { background: rgba(16,185,129,0.12); color: var(--emerald-400); }

.ci-text strong {
  font-size: 0.7rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.ci-text span { font-size: 0.95rem; color: var(--ink); font-weight: 500; }

/* Contact Form */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xs);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--slate-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  background: var(--emerald-600);
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.form-submit:hover {
  background: var(--emerald-500);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5,150,105,0.3);
}


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
#footer {
  background: var(--bg-surface);
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-logo span { color: var(--emerald-500); }
[data-theme="dark"] .footer-logo span { color: var(--emerald-400); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
  font-weight: 500;
}
.footer-links a:hover { color: var(--emerald-600); }
[data-theme="dark"] .footer-links a:hover { color: var(--emerald-400); }


/* ══════════════════════════════════════════
   FLOATING ACTIONS
   ══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  z-index: 1000;
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
  transform: translateY(-3px);
}
[data-theme="dark"] .back-to-top {
  background: var(--bg-elevated);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .back-to-top:hover {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  color: #fff;
}


/* ══════════════════════════════════════════
   MODAL & SLOT PICKER
   ══════════════════════════════════════════ */
.slot-btn {
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em;
}
.slot-btn:hover {
  background: var(--emerald-600);
  color: white;
  border-color: var(--emerald-600);
  transform: translateY(-1px);
}
.slot-btn.selected {
  background: var(--emerald-600);
  color: white;
  border-color: var(--emerald-600);
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}
[data-theme="dark"] .slot-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--slate-300);
}
[data-theme="dark"] .slot-btn:hover,
[data-theme="dark"] .slot-btn.selected {
  background: var(--emerald-600);
  color: white;
  border-color: var(--emerald-600);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-spring), opacity 0.3s ease;
  opacity: 0;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); opacity: 1; }

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  background: var(--slate-100);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--slate-200); color: var(--ink); }
[data-theme="dark"] .modal-close { background: rgba(255,255,255,0.06); color: var(--slate-400); }
[data-theme="dark"] .modal-close:hover { background: rgba(255,255,255,0.12); }

.modal-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .modal-icon {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: var(--emerald-400);
}

.modal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.modal p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.modal-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--emerald-600);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.modal-cta:hover { background: var(--emerald-500); transform: translateY(-1px); }

/* Modal list */
.modal-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.modal-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--emerald-50);
  border-radius: 50%;
  color: var(--emerald-600);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}
[data-theme="dark"] .modal-list li::before {
  background: rgba(16,185,129,0.1);
  color: var(--emerald-400);
}


/* ══════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  background: var(--slate-900);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform var(--transition-spring), opacity 0.3s ease;
  max-width: 380px;
  border: 1px solid rgba(255,255,255,0.08);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { color: var(--emerald-400); flex-shrink: 0; }
.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  margin-left: 0.5rem;
  padding: 4px;
  transition: color var(--transition);
}
.toast-close:hover { color: #fff; }


/* ══════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.05); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes dotPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-content { gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-sub { margin: 0 auto; }
  .cta-actions { width: 100%; }
}

@media (max-width: 768px) {
  /* Mobile navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80%;
    max-width: 320px;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    border-left: 1px solid var(--border);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 1rem; color: var(--ink); }
  .nav-cta {
    background: var(--emerald-600) !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 12px !important;
    text-align: center;
  }
  .hamburger { display: flex; z-index: 1001; }
  [data-theme="dark"] .hamburger span { background: var(--ink); }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; gap: 3rem; padding: 7rem 0 4rem; }
  .hero-visual { display: none; }

  /* Sections */
  .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-float-1, .about-float-2 { display: none; }
  .about-badge { bottom: -1rem; right: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .recognition-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-block { padding: 2rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 75px 1fr; gap: 1.25rem; }
  .timeline-item:not(:last-child)::before { left: 37px; }
  .timeline-dot { left: 32px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .services-header { flex-direction: column; align-items: flex-start; }
  .modal { padding: 2rem; border-radius: var(--radius-lg); }
  .hero-accent-badge { right: 0; bottom: -0.75rem; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 2.25rem; }
  .section-title { font-size: 1.75rem; }
  .container { padding: 0 1.25rem; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
  .toast { right: 1.25rem; left: 1.25rem; max-width: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stat-item { padding: 1rem; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost-light { width: 100%; }
}