/* ═══════════════════════════════════════════════════════════════════
   EUROBAUCONSULT Portfolio — VIP edition
═══════════════════════════════════════════════════════════════════ */

:root {
  --c-bg: #0A0E1A;
  --c-surface: #0F1424;
  --c-card: #FFFFFF;
  --c-text: #E8EDF5;
  --c-text-dark: #1A2B4A;
  --c-text-muted: rgba(232,237,245,.65);
  --c-text-muted-dark: rgba(26,43,74,.62);
  --c-border: rgba(255,255,255,.08);
  --c-border-dark: rgba(26,43,74,.10);

  --grad: linear-gradient(135deg,#0066CC 0%,#00B14F 100%);
  --grad-soft: linear-gradient(135deg,rgba(0,102,204,.15) 0%,rgba(0,177,79,.15) 100%);
  --grad-hover: linear-gradient(135deg,#0077E6 0%,#00C957 100%);
  --c-accent: #00B14F;
  --c-accent-hover: #00C957;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.20);
  --shadow-glow: 0 0 40px rgba(0,177,79,.25);

  --font-sans: 'Inter','Segoe UI',-apple-system,sans-serif;
  --font-display: 'Playfair Display','Georgia',serif;

  --container: 1320px;
  --gutter-x: clamp(20px,5vw,64px);

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: #FAFBFC;
  color: var(--c-text-dark);
  line-height: 1.6;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════════════════════════════════ */
.lang-switcher {
  position: fixed;
  top: clamp(16px,2.5vw,28px);
  right: clamp(16px,2.5vw,28px);
  z-index: 100;
}
.lang-current {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 600; font-size: 13px;
  letter-spacing: .04em;
  transition: all .2s var(--ease);
}
.lang-current:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}
.lang-flag { font-size: 16px; }
.lang-current svg { transition: transform .2s var(--ease); }
.lang-switcher.open .lang-current svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  list-style: none;
  background: rgba(15,20,36,.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s var(--ease);
}
.lang-switcher.open .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.lang-menu li:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-menu li.active {
  background: var(--grad-soft);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 80px var(--gutter-x) 100px;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(1.05) brightness(.85);
  transform: scale(1.05);
  animation: hero-zoom 20s var(--ease-out) infinite alternate;
}
@keyframes hero-zoom {
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,26,.55) 0%, rgba(10,14,26,.85) 70%, rgba(10,14,26,.95) 100%),
    radial-gradient(ellipse at 30% 30%, rgba(0,102,204,.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(0,177,79,.20) 0%, transparent 60%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp .8s var(--ease-out) both;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px var(--c-accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.hero-title-pre {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(13px,1.4vw,16px);
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
  animation: fadeInUp .8s .1s var(--ease-out) both;
}
.hero-title-main {
  display: block;
  font-size: clamp(36px,6.5vw,84px);
  background: linear-gradient(135deg,#fff 0%,#a8d8ff 50%,#7eedba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp .9s .2s var(--ease-out) both;
}

.hero-sub {
  font-size: clamp(15px,1.5vw,19px);
  font-weight: 400;
  max-width: 620px;
  color: rgba(255,255,255,.78);
  margin-bottom: 48px;
  animation: fadeInUp .9s .3s var(--ease-out) both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(16px,3vw,48px);
  max-width: 700px;
  margin-bottom: 56px;
  animation: fadeInUp 1s .4s var(--ease-out) both;
}
.stat {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px,5vw,56px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg,#a8d8ff 0%,#7eedba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.stat-label {
  font-size: clamp(11px,1.1vw,13px);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: fadeInUp 1s .5s var(--ease-out) both;
}
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.cta-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,102,204,.35), 0 4px 12px rgba(0,177,79,.20);
}
.cta-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hover);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.cta-primary > * { position: relative; z-index: 1; }
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,102,204,.45), 0 8px 20px rgba(0,177,79,.30);
}
.cta-primary:hover::before { opacity: 1; }
.cta-secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cta-secondary:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
}

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  animation: fadeIn 1s 1s both;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════════
   TRUST
═══════════════════════════════════════════════════════════════════ */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--c-border-dark);
}
.trust-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 32px var(--gutter-x);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px 56px;
}
.trust-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-text-muted-dark);
}
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500;
  font-style: italic;
  color: var(--c-text-dark);
  opacity: .55;
  letter-spacing: -.01em;
  transition: opacity .25s;
}
.trust-logo:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════════════════ */
.portfolio {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(64px,10vw,120px) var(--gutter-x);
}
.portfolio-head {
  text-align: center;
  max-width: 760px; margin: 0 auto clamp(40px,6vw,72px);
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
  position: relative; padding: 0 28px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 20px; height: 1px;
  background: var(--c-accent);
  opacity: .5;
}
.eyebrow::before { left: 0; }
.eyebrow::after { right: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px,5vw,52px);
  font-weight: 700;
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 16px;
  color: var(--c-text-dark);
}
.section-sub {
  font-size: clamp(15px,1.4vw,17px);
  color: var(--c-text-muted-dark);
  max-width: 580px; margin: 0 auto;
}

/* Filter chips */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px,5vw,56px);
  position: sticky; top: 0; z-index: 10;
  padding: 16px 0;
  background: rgba(250,251,252,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(26,43,74,.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  color: var(--c-text-dark);
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.chip:hover {
  background: rgba(26,43,74,.08);
  transform: translateY(-1px);
}
.chip.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0,102,204,.30), 0 2px 6px rgba(0,177,79,.20);
}
.chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 7px;
  background: rgba(26,43,74,.10);
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
}
.chip.active .chip-count {
  background: rgba(255,255,255,.25);
}

/* Masonry grid using CSS columns */
.grid {
  columns: 1;
  column-gap: 20px;
}
@media (min-width: 640px)  { .grid { columns: 2; } }
@media (min-width: 1024px) { .grid { columns: 3; } }
@media (min-width: 1440px) { .grid { columns: 3; column-gap: 24px; } }

.card {
  break-inside: avoid;
  display: block;
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a2b4a;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: all .4s var(--ease);
  opacity: 0;
  transform: translateY(24px);
}
.card.in-view { opacity: 1; transform: translateY(0); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card img {
  width: 100%; height: auto;
  display: block;
  transition: transform .6s var(--ease-out), filter .4s var(--ease);
}
.card:hover img { transform: scale(1.04); filter: brightness(1.05); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,.85) 0%, rgba(10,14,26,.45) 35%, transparent 65%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  display: flex; align-items: flex-end;
  padding: 24px 22px;
}
.card:hover .card-overlay { opacity: 1; }
.card-title {
  color: #fff;
  font-size: 15px; font-weight: 600;
  line-height: 1.4;
  transform: translateY(8px);
  transition: transform .35s var(--ease);
}
.card:hover .card-title { transform: translateY(0); }

.card-cat {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-text-dark);
  opacity: 0;
  transform: translateY(-6px);
  transition: all .35s var(--ease);
}
.card:hover .card-cat {
  opacity: 1; transform: translateY(0);
}

.card[data-hidden="true"] { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════════════ */
.cta-final {
  background: var(--c-bg);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(0,102,204,.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,177,79,.20) 0%, transparent 50%);
  color: #fff;
  padding: clamp(64px,10vw,120px) var(--gutter-x);
  text-align: center;
}
.cta-final-inner {
  max-width: 720px; margin: 0 auto;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(28px,4.5vw,44px);
  font-weight: 700;
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255,255,255,.72);
  font-size: clamp(15px,1.4vw,18px);
  margin-bottom: 36px;
}
.cta-final .hero-cta { justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(0,0,0,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: 60px 20px;
}
.lightbox.open { display: flex; animation: lbFade .25s var(--ease); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage {
  position: relative;
  max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  user-select: none;
  -webkit-user-drag: none;
  animation: lbZoom .35s var(--ease-out);
}
@keyframes lbZoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.lb-stage figcaption {
  color: rgba(255,255,255,.85);
  font-size: 14px; font-weight: 500;
  text-align: center; max-width: 800px;
  padding: 0 20px;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff;
  transition: all .2s var(--ease);
  z-index: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,.20);
  transform: scale(1.08);
}
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

.lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  padding: 8px 16px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,.85);
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em;
}

@media (max-width: 640px) {
  .lb-prev, .lb-next { width: 42px; height: 42px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero { padding: 100px 20px 80px; }
  .hero-stats { gap: 12px; margin-bottom: 40px; }
  .stat { padding: 16px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .cta { justify-content: center; }
  .trust-inner { flex-direction: column; gap: 20px; }
  .trust-logos { gap: 20px 28px; }
  .trust-logo { font-size: 17px; }
  .filters { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 13px; }
  .lang-current { padding: 8px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-bg img { animation: none; transform: none; }
  .card { opacity: 1; transform: none; }
}
.ai-msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-left-radius: 4px;
  animation-delay: 0.3s;
}
.ai-bot-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ai-bot-avatar { font-size: 16px; }
@keyframes ai-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Tech stack chips === */
.ai-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.ai-stack-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 4px;
}
.ai-stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: all 0.2s;
}
.ai-stack-chip:hover {
  background: rgba(0,177,79,0.15);
  border-color: rgba(0,177,79,0.4);
}

/* ═══════════════════════════════════════════════════════════════════
   AI ASSISTANT SECTION (rebuilt - core styles)
═══════════════════════════════════════════════════════════════════ */
.ai-section {
  position: relative;
  padding: 90px 24px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2540 50%, #0a3a2e 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ai-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}
.ai-bg-orb-1 {
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0066CC 0%, transparent 70%);
}
.ai-bg-orb-2 {
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00B14F 0%, transparent 70%);
}
.ai-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .ai-inner { grid-template-columns: 1fr; gap: 48px; }
  .ai-section { padding: 64px 20px; }
}
.ai-content { color: #fff; }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 177, 79, 0.12);
  border: 1px solid rgba(0, 177, 79, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.ai-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00B14F;
  box-shadow: 0 0 0 0 rgba(0, 177, 79, 0.7);
  animation: ai-pulse 2s infinite;
}
@keyframes ai-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 177, 79, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(0, 177, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 177, 79, 0); }
}
.ai-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #fff 0%, #a0e9ff 50%, #4ade80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-sub {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  max-width: 560px;
}
.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 540px) {
  .ai-features { grid-template-columns: 1fr; }
}
.ai-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.ai-feature:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0, 177, 79, 0.3);
  transform: translateY(-2px);
}
.ai-feature-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.ai-feature-text { display: flex; flex-direction: column; gap: 2px; }
.ai-feature-text strong { font-size: 14px; color: #fff; font-weight: 600; }
.ai-feature-text span { font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.ai-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.ai-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #0066CC 0%, #00B14F 100%);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 177, 79, 0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
  transition: all 0.3s ease;
}
.ai-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 177, 79, 0.5), 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.ai-cta svg { width: 20px; height: 20px; }
.ai-cta-note { font-size: 13px; color: rgba(255,255,255,0.5); }
.ai-preview { position: relative; }
.ai-chat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-msg {
  padding: 14px 18px;
  border-radius: 18px;
  max-width: 92%;
  font-size: 14.5px;
  line-height: 1.55;
  animation: ai-msg-in 0.6s ease backwards;
}
.ai-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0066CC 0%, #00B14F 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg-bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom-left-radius: 4px;
  animation-delay: 0.3s;
}
.ai-bot-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ai-bot-avatar { font-size: 16px; }
@keyframes ai-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ai-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}
.ai-stack-label {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 4px;
}
.ai-stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   AI FEATURES TABS — Engineering / Real Estate switcher
═══════════════════════════════════════════════════════════════════ */
.ai-features-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding: 4px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  width: fit-content;
}
.ai-tab {
  padding: 8px 18px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.ai-tab:hover {
  color: rgba(255,255,255,0.9);
}
.ai-tab.active {
  background: linear-gradient(135deg, #0066CC 0%, #00B14F 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,177,79,0.3);
}
.ai-features[hidden] {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════════════ */
.services { padding: 90px 24px; background: #fafafa; }
.services-inner { max-width: 1280px; margin: 0 auto; }
.services-inner .eyebrow,
.why-inner .eyebrow,
.process-inner .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00B14F;
  margin-bottom: 14px;
}
.services-inner .section-title,
.why-inner .section-title,
.process-inner .section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  color: #0a1628;
  margin: 0 0 16px;
  font-weight: 700;
}
.services-inner .section-sub,
.process-inner .section-sub {
  font-size: 17px;
  color: #5a6478;
  max-width: 700px;
  margin: 0 0 48px;
  line-height: 1.6;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 102, 204, 0.12);
  border-color: rgba(0, 177, 79, 0.3);
}
.service-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 12px;
}
.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #5a6478;
  margin: 0 0 20px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f0f2f5;
  padding-top: 18px;
}
.service-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #2a3548;
  margin-bottom: 10px;
  line-height: 1.5;
}
.service-list li:last-child { margin-bottom: 0; }
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00B14F;
  font-weight: 700;
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════════
   WHY US SECTION
═══════════════════════════════════════════════════════════════════ */
.why-us {
  padding: 90px 24px;
  background: #fff;
}
.why-inner { max-width: 1280px; margin: 0 auto; }
.why-inner .section-title { margin-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.why-item {
  position: relative;
  padding: 28px 24px;
  border-left: 3px solid #00B14F;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f7fa 100%);
  border-radius: 0 16px 16px 0;
  transition: all 0.3s ease;
}
.why-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.08);
}
.why-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #0066CC 0%, #00B14F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 10px;
  line-height: 1.3;
}
.why-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5a6478;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   PROCESS SECTION
═══════════════════════════════════════════════════════════════════ */
.process {
  padding: 90px 24px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.process-inner { max-width: 1280px; margin: 0 auto; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}
.process-step {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 102, 204, 0.12);
  border-color: rgba(0, 177, 79, 0.3);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066CC 0%, #00B14F 100%);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 177, 79, 0.3);
}
.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 10px;
  line-height: 1.3;
}
.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6478;
  margin: 0 0 14px;
}
.step-time {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #00B14F;
  background: rgba(0, 177, 79, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .services, .why-us, .process { padding: 64px 20px; }
  .services-grid, .why-grid, .process-steps { gap: 16px; }
  .service-card, .process-step { padding: 24px 20px; }
}
