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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --radius: 0.625rem;

  --background: oklch(0.27 0.035 175);
  --foreground: oklch(1 0 0);
  --card: oklch(0.32 0.04 175);
  --card-foreground: oklch(1 0 0);
  --muted-foreground: oklch(0.72 0.005 286);
  --border: oklch(0.34 0.025 175);
  --input: oklch(0.34 0.025 175);

  --brand-navy: oklch(0.27 0.035 175);
  --brand-navy-deep: oklch(0.22 0.03 175);
  --brand-blue: oklch(0.70 0.16 162);
  --brand-blue-hover: oklch(0.63 0.15 162);
  --brand-cyan: oklch(0.78 0.14 162);

  --gradient-hero: linear-gradient(135deg, oklch(0.22 0.03 175) 0%, oklch(0.27 0.035 175) 50%, oklch(0.32 0.045 168) 100%);
  --gradient-accent: linear-gradient(135deg, oklch(0.70 0.16 162), oklch(0.63 0.15 162));
  --gradient-overlay: linear-gradient(180deg, oklch(0.22 0.03 175 / 0.85) 0%, oklch(0.22 0.03 175 / 0.55) 60%, oklch(0.22 0.03 175 / 0.92) 100%);
  --gradient-subtle: linear-gradient(180deg, oklch(0.27 0.035 175) 0%, oklch(0.32 0.04 175) 100%);

  --shadow-elegant: 0 24px 70px -20px oklch(0.10 0.02 175 / 0.75);
  --shadow-glow: 0 0 80px oklch(0.70 0.16 162 / 0.30);
  --shadow-card: 0 8px 28px -10px oklch(0.10 0.02 175 / 0.55);

  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

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

/* Layout */
.container { margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Typography utilities */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.1em; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-snug { line-height: 1.375; }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #fff; }
.text-white-80 { color: oklch(1 0 0 / 0.8); }
.text-white-60 { color: oklch(1 0 0 / 0.6); }

/* Animations */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

.animate-fade-up { animation: fade-up 0.8s var(--transition-smooth) both; }
.animate-fade-in { animation: fade-in 0.8s var(--transition-smooth) both; }
.animate-pulse   { animation: pulse 2s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Gradient utilities */
.gradient-hero   { background-image: var(--gradient-hero); }
.gradient-accent { background-image: var(--gradient-accent); }
.gradient-text {
  background-image: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Effects */
.hover-lift {
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
}

.glass {
  background: oklch(1 0 0 / 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(1 0 0 / 0.12);
}

.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-glow    { box-shadow: var(--shadow-glow); }
.shadow-card    { box-shadow: var(--shadow-card); }

/* Decorative backgrounds */
.bg-grid {
  background-image:
    linear-gradient(to right, oklch(0.32 0.05 180 / 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.32 0.05 180 / 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.bg-dots {
  background-image: radial-gradient(oklch(0.62 0.14 160 / 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mask-fade {
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.bg-stripes {
  background-image: repeating-linear-gradient(135deg, oklch(0.62 0.14 160 / 0.05) 0 2px, transparent 2px 14px);
}
.bg-noise {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.05;
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-green    { background: radial-gradient(circle, oklch(0.72 0.16 160 / 0.55), transparent 70%); }
.blob-cyan     { background: radial-gradient(circle, oklch(0.78 0.12 190 / 0.45), transparent 70%); }
.blob-gold     { background: radial-gradient(circle, oklch(0.82 0.14 75  / 0.30), transparent 70%); }

.deco-float {
  position: absolute;
  pointer-events: none;
  user-select: none;
  animation: float 9s ease-in-out infinite;
}

/* Icon tile */
.icon-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, oklch(0.62 0.14 160 / 0.14), oklch(0.72 0.11 190 / 0.10));
  border: 1px solid oklch(0.62 0.14 160 / 0.30);
  color: var(--brand-blue);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.6), 0 6px 18px -8px oklch(0.62 0.14 160 / 0.45);
  transition: all 0.5s var(--transition-smooth);
  flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.icon-tile-solid {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px -8px oklch(0.62 0.14 160 / 0.55), inset 0 1px 0 oklch(1 0 0 / 0.3);
}

/* ============ TOP BAR ============ */
.top-bar {
  display: none;
  background: var(--brand-navy-deep);
  color: oklch(1 0 0 / 0.8);
  font-size: 0.75rem;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.5rem;
}
.top-bar a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.top-bar a:hover { color: #fff; }
.top-bar-left { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }
.top-bar-right { display: flex; align-items: center; gap: 1.5rem; }

/* Language dropdown */
.lang-dropdown { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; opacity: 0.8; cursor: pointer;
  transition: opacity 0.2s; background: none; border: none; color: inherit;
}
.lang-btn:hover { opacity: 1; }
.lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; min-width: 8rem; z-index: 100;
  box-shadow: var(--shadow-card);
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left;
  padding: 0.5rem 1rem; font-size: 0.875rem;
  transition: background 0.15s;
}
.lang-menu button:hover { background: oklch(1 0 0 / 0.06); }

@media (min-width: 768px) { .top-bar { display: block; } }

/* ============ HEADER ============ */
header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  transition: all 0.3s ease;
  background: oklch(0.27 0.035 175 / 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
header.scrolled {
  background: oklch(0.27 0.035 175 / 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 2.75rem; width: auto; object-fit: contain; transition: transform 0.3s; }
.logo:hover img { transform: scale(1.02); }
.logo-tagline {
  display: none;
  font-size: 0.6875rem; color: var(--muted-foreground);
  letter-spacing: 0.08em; text-transform: uppercase;
  border-left: 1px solid var(--border); padding-left: 0.75rem;
  line-height: 1.4;
}

.main-nav { display: none; align-items: center; gap: 0.25rem; }
.nav-btn {
  position: relative; padding: 0.5rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  color: oklch(1 0 0 / 0.8);
  transition: color 0.2s;
}
.nav-btn:hover { color: #fff; }
.nav-btn::after {
  content: '';
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: -2px;
  height: 2px; background: var(--brand-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
}
.nav-btn:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  background: var(--gradient-accent); color: #fff;
  transition: opacity 0.2s; box-shadow: var(--shadow-glow);
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  background: oklch(1 0 0 / 0.05); border: 1px solid oklch(1 0 0 / 0.3);
  color: #fff; backdrop-filter: blur(12px);
  transition: background 0.2s;
}
.btn-outline:hover { background: oklch(1 0 0 / 0.15); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

.hamburger {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.hamburger:hover { background: oklch(1 0 0 / 0.1); }
.hamburger svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

.mobile-nav {
  display: none; border-top: 1px solid var(--border);
  background: var(--background);
  animation: fade-in 0.2s ease both;
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-btn {
  text-align: left; padding: 0.75rem; border-radius: 0.5rem;
  font-size: 0.9375rem; font-weight: 500;
  color: oklch(1 0 0 / 0.9); transition: background 0.15s;
}
.mobile-nav-btn:hover { background: oklch(1 0 0 / 0.06); }
.mobile-nav-sep { margin: 0.75rem 0; border-top: 1px solid var(--border); }
.mobile-contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; font-size: 0.875rem;
  color: var(--muted-foreground);
}
.mobile-contact-link svg { width: 16px; height: 16px; }

@media (max-width: 1023px) {
  .header-actions .btn-primary { display: none; }
  .header-inner { height: 4rem; }
  .logo img { height: 2.25rem; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .hamburger { display: none; }
}
@media (min-width: 1280px) { .logo-tagline { display: block; } }

/* ============ HERO SLIDER ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-navy-deep); color: #fff;
}
.hero-slides { position: relative; height: 620px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: var(--gradient-overlay);
}
.hero-content {
  position: relative; height: 100%;
  display: flex; align-items: center;
}
.hero-text { max-width: 48rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px; margin-bottom: 1.5rem;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-kicker-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-cyan);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.125rem; color: oklch(1 0 0 / 0.8);
  max-width: 40rem; margin-bottom: 2rem; line-height: 1.625;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-nav-btn {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.hero-nav-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.hero-nav-btn:hover { background: oklch(1 0 0 / 0.2); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.hero-dot {
  height: 4px; border-radius: 9999px;
  background: oklch(1 0 0 / 0.4); width: 1.5rem;
  transition: all 0.5s ease; cursor: pointer;
}
.hero-dot.active { width: 2.5rem; background: var(--brand-cyan); }

.hero-stats {
  position: relative; border-top: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.22 0.03 175 / 0.95);
}
.hero-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  divide: oklch(1 0 0 / 0.1);
}
.hero-stat {
  padding: 2rem 1rem; text-align: center;
  border-right: 1px solid oklch(1 0 0 / 0.1);
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.hero-stat:nth-child(2n) { border-right: none; }
.hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
.hero-stat-key { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.hero-stat-val { font-size: 0.75rem; color: oklch(1 0 0 / 0.6); text-transform: uppercase; letter-spacing: 0.1em; }

@media (min-width: 768px) {
  .hero-slides { height: 720px; }
  .hero-nav-btn { display: flex; }
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { border-bottom: none; }
  .hero-stat:nth-child(2n) { border-right: 1px solid oklch(1 0 0 / 0.1); }
  .hero-stat:last-child { border-right: none; }
}

/* ============ SECTION HEADERS ============ */
.section-header { max-width: 48rem; margin-bottom: 2.5rem; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 0.75rem;
}
.section-kicker-line { width: 2rem; height: 1px; background: var(--brand-blue); }
.section-kicker-light { color: var(--brand-cyan); }
.section-kicker-light .section-kicker-line { background: var(--brand-cyan); }
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 0.75rem;
}
.section-desc { font-size: 1.125rem; line-height: 1.625; color: var(--muted-foreground); }
.section-desc-light { color: oklch(1 0 0 / 0.75); }

/* ============ SECTION COMMON ============ */
.section-bg { background: var(--background); }
.section-bg-subtle { background: var(--gradient-subtle); }
.section-bg-dark { background-image: var(--gradient-hero); color: #fff; }

section.py { padding: 5rem 0; }
@media (min-width: 768px) { section.py { padding: 7rem 0; } }

/* ============ ABOUT ============ */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-img-wrap {
  position: relative; aspect-ratio: 5/4;
  border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elegant);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, oklch(0.22 0.03 175 / 0.35), transparent);
}
.about-badge {
  display: none; position: absolute; bottom: -1.5rem; left: 1.5rem;
  background: var(--card); padding: 1.25rem 1.5rem;
  border-radius: 0.75rem; box-shadow: var(--shadow-elegant);
  border: 1px solid var(--border);
}
.about-badge-key { font-size: 1.5rem; font-weight: 700; }
.about-badge-val { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.about-cards { display: grid; gap: 1.25rem; }
.about-card {
  display: flex; gap: 1.25rem; padding: 1.5rem;
  border-radius: 0.75rem; background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.about-card-icon { width: 3rem; height: 3rem; }
.about-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.375rem; }
.about-card p { color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.625; }

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .about-badge { display: block; }
  .about-img-wrap { margin-bottom: 1.5rem; }
}

/* ============ SERVICES ============ */
.services-grid { display: grid; gap: 1.5rem; }
.service-card {
  position: relative; padding: 2rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.service-card-orb {
  position: absolute; top: 0; right: 0;
  width: 8rem; height: 8rem; border-radius: 50%;
  background: oklch(0.70 0.16 162 / 0.05);
  transform: translate(50%, -50%);
  transition: transform 0.7s ease;
}
.service-card:hover .service-card-orb { transform: translate(50%, -50%) scale(1.5); }
.service-card-icon { width: 3.5rem; height: 3.5rem; margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--muted-foreground); line-height: 1.625; }
.service-card-more {
  display: flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--brand-blue);
  opacity: 0; transform: translateX(-0.5rem);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-card-more { opacity: 1; transform: translateX(0); }
.service-card-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ PROJECTS ============ */
.projects-grid { display: grid; gap: 1.5rem; }
.project-card {
  position: relative; aspect-ratio: 16/10;
  border-radius: 1rem; overflow: hidden; cursor: pointer;
}
.project-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--brand-navy-deep), oklch(0.22 0.03 175 / 0.4) 50%, transparent);
}
.project-card-body {
  position: absolute; inset: 0; padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.project-card-tags { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.project-card-tag {
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.project-card-region { font-size: 0.75rem; color: oklch(1 0 0 / 0.6); }
.project-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; max-width: 28rem; }
.project-card-link {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--brand-cyan);
  margin-top: 1rem; opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s;
}
.project-card:hover .project-card-link { opacity: 1; transform: translateY(0); }
.project-card-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ INDUSTRIES ============ */
.industries-grid { display: grid; gap: 1.25rem; }
.industry-card {
  padding: 1.75rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.industry-card-icon { width: 3rem; height: 3rem; margin-bottom: 1.25rem; }
.industry-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.industry-card p { color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.625; }

@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ WHY ALAMI ============ */
.why-section {
  position: relative; overflow: hidden; color: #fff;
  background-image: var(--gradient-hero);
}
.why-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.25; mix-blend-mode: screen; pointer-events: none;
}
.why-grid { display: grid; gap: 3rem; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.why-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.why-check {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; margin-top: 2px;
  border-radius: 0.375rem;
  background: oklch(0.78 0.14 162 / 0.15);
  border: 1px solid oklch(0.78 0.14 162 / 0.3);
  display: flex; align-items: center; justify-content: center;
}
.why-check svg { width: 14px; height: 14px; stroke: var(--brand-cyan); fill: none; stroke-width: 2; }
.why-item span { color: oklch(1 0 0 / 0.9); }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.why-card {
  padding: 1.5rem; border-radius: 1rem;
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.why-card-key { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card-title { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.25rem; }
.why-card-sub { font-size: 0.875rem; color: oklch(1 0 0 / 0.6); }

@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ PARTNERS ============ */
.partners-grid { display: grid; gap: 1.25rem; }
.partner-card {
  padding: 1.75rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.partner-card-icon { width: 3rem; height: 3rem; margin-bottom: 1.25rem; }
.partner-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.partner-card p { color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.625; }

@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ INSIGHTS ============ */
.insights-grid { display: grid; gap: 2rem; }
.insight-card {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.insight-img { aspect-ratio: 16/10; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.insight-card:hover .insight-img img { transform: scale(1.05); }
.insight-body { padding: 1.75rem; }
.insight-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.insight-tag {
  padding: 0.25rem 0.625rem; border-radius: 9999px;
  background: oklch(0.70 0.16 162 / 0.1); color: var(--brand-blue); font-weight: 500;
}
.insight-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  line-height: 1.375; margin-bottom: 1rem;
  transition: color 0.2s;
}
.insight-card:hover h3 { color: var(--brand-blue); }
.insight-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--brand-blue); }
.insight-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.3s; }
.insight-card:hover .insight-link svg { transform: translateX(4px); }

@media (min-width: 768px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ CONTACT ============ */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.contact-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 1rem;
}
.contact-kicker-line { width: 2rem; height: 1px; background: var(--brand-blue); }
.contact-title { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.contact-desc { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 2.5rem; line-height: 1.625; }
.contact-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.contact-item {
  display: flex; gap: 1rem; padding: 1.25rem;
  border-radius: 0.75rem; background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}
.contact-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-elegant); }
.contact-item-icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.contact-item-label { font-size: 0.7rem; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.contact-item-value { font-weight: 500; font-size: 0.9rem; word-break: break-word; }
.contact-item-value a { transition: color 0.2s; }
.contact-item-value a:hover { color: var(--brand-blue); }

/* Contact form panel */
.contact-form-panel {
  padding: 2rem 2.5rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
}
.contact-form-panel h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-panel > p { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1.5rem; }

.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; }
.form-input, .form-textarea {
  width: 100%; padding: 0.625rem 0.875rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: oklch(0.27 0.035 175 / 0.5); color: var(--foreground);
  font-family: var(--font-sans); font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: oklch(1 0 0 / 0.35); }
.form-input:focus, .form-textarea:focus { border-color: var(--brand-blue); }
.form-textarea { resize: vertical; min-height: 5rem; }
.form-note { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.form-submit {
  width: 100%; padding: 0.875rem;
  border-radius: var(--radius); border: none;
  background: var(--gradient-accent); color: #fff;
  font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: var(--shadow-glow); transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-submit svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }

@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ FOOTER ============ */
footer {
  position: relative;
  background: var(--brand-navy-deep); color: oklch(1 0 0 / 0.8);
}
.footer-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.62 0.14 160 / 0.5), transparent);
}
.footer-grid {
  display: grid; gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer-brand p { font-size: 0.875rem; color: oklch(1 0 0 / 0.6); line-height: 1.625; margin: 1.25rem 0; }
.footer-brand img { height: 3rem; width: auto; object-fit: contain; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: oklch(1 0 0 / 0.05);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.footer-social:hover { background: var(--brand-blue); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }

.footer-col h4 { font-family: var(--font-display); font-weight: 600; color: #fff; margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav-list button { font-size: 0.875rem; color: oklch(1 0 0 / 0.7); transition: color 0.2s; text-align: left; }
.footer-nav-list button:hover { color: var(--brand-cyan); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: flex; gap: 0.75rem; font-size: 0.875rem; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--brand-cyan); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: #fff; }

.footer-sub-form { display: flex; gap: 0.5rem; }
.footer-sub-input {
  flex: 1; padding: 0.5rem 0.875rem;
  border-radius: var(--radius); border: 1px solid oklch(1 0 0 / 0.15);
  background: oklch(1 0 0 / 0.05); color: #fff; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s;
}
.footer-sub-input::placeholder { color: oklch(1 0 0 / 0.4); }
.footer-sub-input:focus { border-color: oklch(1 0 0 / 0.35); }
.footer-sub-btn {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: var(--gradient-accent); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity 0.2s;
}
.footer-sub-btn:hover { opacity: 0.9; }
.footer-sub-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }

.footer-bottom {
  padding: 1.5rem 0; border-top: 1px solid oklch(1 0 0 / 0.1);
  display: flex; flex-direction: column; gap: 1rem; align-items: center;
  font-size: 0.75rem; color: oklch(1 0 0 / 0.5);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: #fff; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gradient-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow); border: none; cursor: pointer;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

/* ============ MODAL ============ */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: oklch(0.10 0.02 175 / 0.75); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; width: 100%; max-width: 32rem;
  padding: 2rem; box-shadow: var(--shadow-elegant);
  animation: scale-in 0.3s var(--transition-smooth) both;
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }
.modal-close {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.modal-close:hover { background: oklch(1 0 0 / 0.08); }
.modal-close svg { width: 18px; height: 18px; stroke: var(--muted-foreground); fill: none; stroke-width: 2; }
.modal p { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ============ TOAST ============ */
.toast-container {
  position: fixed; top: 1.25rem; right: 1.25rem; z-index: 300;
  display: flex; flex-direction: column; gap: 0.625rem;
}
.toast {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 1.25rem; border-radius: 0.75rem;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant); max-width: 22rem;
  animation: toast-in 0.35s var(--transition-smooth) both;
}
.toast.out { animation: toast-out 0.3s ease forwards; }
.toast-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.toast-icon svg { width: 100%; height: 100%; stroke: #10b981; fill: none; stroke-width: 2; }
.toast-body { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.9rem; }
.toast-desc { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 2px; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  background: oklch(0.27 0.035 175 / 0.6); border-bottom: 1px solid var(--border);
  padding: 0.625rem 0;
}
.breadcrumbs-inner { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.breadcrumbs-inner svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.breadcrumbs-inner span { color: var(--brand-blue); font-weight: 500; }

