:root {
  --bg: #060b14;
  --surface: #0f1729;
  --surface-2: #16233d;
  --text: #f7f4ef;
  --muted: #aab6c6;
  --primary: #caa96b;
  --primary-2: #7b8cff;
  --accent: #f2d08d;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(202, 169, 107, 0.18), transparent 24%),
    linear-gradient(135deg, var(--bg), #101b2f 55%, #16223b);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(202, 169, 107, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(123, 140, 255, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 45%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(7, 9, 13, 0.62);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 5rem;
}

.page-header {
  background:
    radial-gradient(circle at top left, rgba(202, 169, 107, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding: 3rem 0 1rem;
  max-width: 860px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.page-content {
  padding: 2rem 0 4rem;
}

.about-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary-2);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-badges {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-badges span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0b1116;
  box-shadow: 0 12px 32px rgba(202, 169, 107, 0.28);
  font-weight: 700;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.card,
.contact-box,
.about-points > div {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-card h3 {
  margin-bottom: 1rem;
}

.hero-card:hover,
.card:hover,
.contact-box:hover,
.about-points > div:hover {
  transform: translateY(-4px);
  border-color: rgba(202, 169, 107, 0.3);
}

.hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.hero-card li::before {
  content: '•';
  color: var(--primary-2);
  margin-right: 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.stats > div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 4rem 0;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
}

.showcase-card,
.showcase-gallery img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.showcase-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(202, 169, 107, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
}

.showcase-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.showcase-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-gallery img:last-child {
  grid-column: span 2;
  height: 240px;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2,
.about-grid h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.card p,
.about-grid p,
.contact-details p,
.form-message {
  color: var(--muted);
}

.about-section {
  background: rgba(255, 255, 255, 0.03);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

.about-points {
  display: grid;
  gap: 1rem;
}

.about-points > div {
  padding: 1.2rem;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  padding: 1.4rem;
}

form {
  display: grid;
  gap: 0.8rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(215, 255, 84, 0.7);
  box-shadow: 0 0 0 3px rgba(215, 255, 84, 0.14);
}

input::placeholder,
textarea::placeholder {
  color: #7890a9;
}

.form-message {
  min-height: 1.2rem;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--primary);
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1rem 0;
}

.contact-details h3 {
  color: var(--accent);
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-mini-cta {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-mini-cta strong {
  color: var(--accent);
  font-size: 0.9rem;
}

.contact-mini-cta a {
  color: var(--primary);
  font-weight: 700;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 214, 117, 0.08);
  border-color: rgba(38, 214, 117, 0.35);
  color: #8df0b0;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 5.2rem;
  z-index: 25;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  gap: 1rem;
}

.footer a {
  color: var(--accent);
}

/* Premium IT portfolio system */
:root {
  --bg: #07090d;
  --surface: #10141b;
  --surface-2: #151c26;
  --text: #f5f5f0;
  --muted: #9aa4b2;
  --primary: #d7ff54;
  --primary-2: #8ca3ff;
  --accent: #d7ff54;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.hero {
  min-height: 92vh;
  background: radial-gradient(circle at 75% 30%, rgba(140,163,255,.16), transparent 28%), radial-gradient(circle at 15% 10%, rgba(215,255,84,.1), transparent 25%), #07090d;
  position: relative;
  overflow: hidden;
}

.nav { min-height: 128px; padding: 1.25rem 0; position: relative; z-index: 2; border-bottom: 1px solid var(--border); }
.logo { width: 380px; height: 96px; background: transparent; border: 0; box-shadow: none; padding: 0; justify-content: flex-start; gap: .9rem; }
.brand-mark { width: 96px; height: 96px; flex: 0 0 96px; display: grid; place-items: center; background: #f4f6f1; border: 1px solid rgba(255,255,255,.7); }
.brand-mark img { width: 92px; height: 92px; object-fit: contain; }
.brand-wordmark { display: grid; gap: .2rem; color: var(--text); }
.brand-wordmark strong { font-size: 1.65rem; line-height: 1; letter-spacing: .02em; }
.brand-wordmark b { color: var(--primary); }
.brand-wordmark small { color: #cbd2d8; font-family: 'DM Mono', monospace; font-size: .58rem; letter-spacing: .22em; }
.brand-logo { display: none; }
.logo b { color: var(--primary); font-weight: 800; }
.nav-links { align-items: center; gap: 1.6rem; font-size: .86rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }
.nav-cta { border: 1px solid var(--border); padding: .7rem 1rem; border-radius: 999px; color: var(--text) !important; }
.nav-cta span, .btn span, .arrow-link span { color: var(--primary); }

  .hero-content { min-height: 620px; padding: 4.5rem 0 5rem; grid-template-columns: 1.25fr .75fr; gap: 3.5rem; }
.eyebrow { font-family: 'DM Mono', monospace; font-size: .7rem; letter-spacing: .16em; color: var(--primary); }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 14px var(--primary); margin-right: .5rem; }
  .hero h1 { font-size: clamp(3.8rem, 7vw, 6.8rem); letter-spacing: -.06em; line-height: .95; font-weight: 800; margin: 1.2rem 0 1.6rem; }
h1 em, h2 em { color: var(--primary); font-style: normal; }
.lead { font-size: 1.06rem; max-width: 530px; color: var(--muted); line-height: 1.8; }
.hero-actions { align-items: center; margin: 2rem 0 1.8rem; }
.btn { border-radius: 5px; padding: 1rem 1.3rem; }
.btn-primary { background: var(--primary); color: #080b0a; box-shadow: 0 12px 35px rgba(215,255,84,.15); }
.btn-primary span { color: #080b0a; margin-left: .5rem; }
.text-link, .arrow-link { color: var(--text); font-size: .88rem; font-weight: 700; }
.text-link span { color: var(--primary); margin-left: .5rem; }
.hero-badges span { border: 0; border-left: 1px solid var(--border); border-radius: 0; padding: 0 .8rem; font-family: 'DM Mono', monospace; font-size: .7rem; }
.hero-badges span:first-child { padding-left: 0; border-left: 0; }

.hero-visual { position: relative; padding: 1rem; border: 1px solid var(--border); background: rgba(255,255,255,.035); border-radius: 4px; transform: rotate(2deg); }
.hero-image { height: 440px; border-radius: 2px; margin: 0; filter: saturate(.75) contrast(1.1); }
.visual-label, .visual-caption { display: flex; justify-content: space-between; font-family: 'DM Mono', monospace; font-size: .62rem; color: var(--muted); padding: .4rem 0 .8rem; letter-spacing: .08em; }
.visual-caption { padding: .8rem 0 .2rem; color: var(--text); }
.visual-caption .mono { color: var(--primary); }
.visual-orbit { position: absolute; border: 1px solid rgba(215,255,84,.25); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 180px; height: 180px; right: -70px; top: -70px; }
.orbit-two { width: 90px; height: 90px; left: -35px; bottom: 30px; }
.scroll-cue { font-family: 'DM Mono', monospace; font-size: .65rem; color: var(--muted); display: flex; gap: .8rem; align-items: center; padding-bottom: 1.5rem; }
.scroll-cue i { height: 1px; width: 50px; background: var(--primary); }

.stats { margin-top: -1.5rem; position: relative; z-index: 1; grid-template-columns: repeat(4,1fr); gap: 0; background: var(--surface); border: 1px solid var(--border); }
.stats > div { border: 0; border-right: 1px solid var(--border); border-radius: 0; background: transparent; padding: 1.35rem; text-align: left; }
.stats > div:last-child { border-right: 0; }
.stats strong { font-size: 2rem; color: var(--text); letter-spacing: -.06em; }
.stats strong span { color: var(--primary); }
.systems-visual { transform: none; }
.systems-panel { min-height: 440px; display: grid; align-content: end; background: linear-gradient(145deg, rgba(215,255,84,.08), rgba(140,163,255,.05)), repeating-linear-gradient(90deg, transparent 0 71px, rgba(255,255,255,.035) 72px), var(--surface); border: 1px solid var(--border); }
.systems-status { margin: 0 1.1rem auto; padding: 1rem 0 1.4rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; border-bottom: 1px solid var(--border); font-family: 'DM Mono', monospace; font-size: .65rem; }
.systems-status strong { color: var(--primary); }
.systems-row { min-height: 78px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: .8rem; margin: 0 1.1rem; border-top: 1px solid var(--border); }
.systems-row > span { color: var(--primary); font-family: 'DM Mono', monospace; font-size: .68rem; }
.systems-row strong, .systems-row small { display: block; }
.systems-row strong { font-size: .86rem; }
.systems-row small { color: var(--muted); font-size: .68rem; margin-top: .15rem; }
.systems-row b { color: var(--primary); font-family: 'DM Mono', monospace; font-size: .58rem; }
.portfolio-bridge { border-bottom: 1px solid var(--border); }
.portfolio-categories { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.portfolio-categories a { min-height: 170px; padding: 1.4rem; display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.portfolio-categories a:last-child { border-right: 0; }
.portfolio-categories a:hover { background: var(--surface-2); }
.portfolio-categories span { color: var(--primary); font-family: 'DM Mono', monospace; font-size: .68rem; }
.portfolio-categories strong { margin-top: auto; font-size: 1.05rem; }
.portfolio-categories small { color: var(--muted); margin-top: .25rem; }
.stats span { font-size: .72rem; font-family: 'DM Mono', monospace; }

.section { padding: 7rem 0; }
.intro-grid, .split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.section h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.07em; }
.section-copy { max-width: 460px; color: var(--muted); line-height: 1.85; font-size: .95rem; }
.arrow-link { display: inline-block; margin-top: 1.5rem; }
.arrow-link span { margin-left: .6rem; }
.section-heading { margin-bottom: 2.2rem; }
.capability-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.capability-card { padding: 2rem; background: var(--surface); min-height: 230px; position: relative; transition: background .25s ease; }
.capability-card:hover { background: var(--surface-2); }
.capability-feature { grid-row: span 2; background: linear-gradient(145deg, #182126, #10141b); }
.card-number { font-family: 'DM Mono', monospace; color: var(--primary); font-size: .7rem; }
.capability-icon { font-size: 2rem; color: var(--primary); margin: 2.4rem 0 1.2rem; }
.capability-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.capability-card p { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.work-section { background: #0c1015; }
.project-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 270px 270px; gap: 1rem; }
.project-card { position: relative; overflow: hidden; border-radius: 3px; border: 1px solid var(--border); }
.project-large { grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-overlay { position: absolute; inset: auto 0 0; padding: 2rem 1.5rem 1.4rem; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.project-overlay span { font-family: 'DM Mono', monospace; color: var(--primary); font-size: .65rem; }
.project-overlay h3 { margin-top: .35rem; font-size: 1.15rem; }
.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; }
.process-intro h2 { margin-bottom: 1.3rem; }
.process-list > div { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; border-top: 1px solid var(--border); padding: 1.4rem 0; }
.process-list span { font-family: 'DM Mono', monospace; color: var(--primary); font-size: .75rem; }
.process-list h3 { margin-bottom: .3rem; }
.process-list p { color: var(--muted); font-size: .85rem; }
.cta-section { border: 1px solid var(--border); background: linear-gradient(110deg, rgba(215,255,84,.09), rgba(140,163,255,.08)); padding: 4rem; display: flex; justify-content: space-between; align-items: end; }
.cta-section h2 { margin-top: .5rem; }
.footer-content { font-size: .75rem; }
.footer-content > div { display: flex; gap: 1.4rem; }
.footer a { color: var(--text); }

.chatbot { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 10; }
.chatbot-launcher { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--primary); color: #07090d; cursor: pointer; box-shadow: 0 10px 30px rgba(215,255,84,.25); position: relative; }
.assistant-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #182126; color: var(--primary); font-weight: 800; border: 2px solid var(--primary); }
.chatbot-launcher .assistant-avatar { width: 40px; height: 40px; border-color: #07090d; color: var(--primary); }
.chat-pulse { position: absolute; right: 3px; top: 3px; width: 10px; height: 10px; border-radius: 50%; background: #48e38a; border: 2px solid var(--primary); }
.chatbot-panel { width: min(360px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #10141b; box-shadow: var(--shadow); margin-bottom: .8rem; }
.chatbot-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: linear-gradient(110deg, #182126, #10141b); border-bottom: 1px solid var(--border); }
.assistant-profile { display: flex; gap: .7rem; align-items: center; }
.assistant-profile strong, .assistant-profile small { display: block; }
.assistant-profile strong { font-size: .85rem; }
.assistant-profile small { color: var(--muted); font-size: .68rem; margin-top: .2rem; }
.assistant-profile .status-dot { width: 5px; height: 5px; margin-right: .3rem; }
.chatbot-close { background: transparent; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.chatbot-messages { padding: 1rem; min-height: 120px; max-height: 230px; overflow-y: auto; }
.chat-message { max-width: 90%; padding: .75rem .85rem; font-size: .78rem; line-height: 1.6; border-radius: 10px; }
.chat-message.bot { background: #19212a; color: var(--text); border-bottom-left-radius: 2px; }
.chat-message.user { margin: .65rem 0 0 auto; background: var(--primary); color: #07090d; border-bottom-right-radius: 2px; }
.chatbot-quick { display: flex; gap: .35rem; flex-wrap: wrap; padding: 0 1rem .8rem; }
.chatbot-quick button { padding: .45rem .6rem; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .66rem; }
.chatbot-quick button:hover { color: var(--primary); border-color: var(--primary); }
.chatbot-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--border); }
.chatbot-form input { padding: .7rem .8rem; border-radius: 7px; font-size: .78rem; }
.chatbot-form button { width: 40px; border: 0; border-radius: 7px; background: var(--primary); color: #07090d; font-size: 1.1rem; cursor: pointer; }
.is-clickable { cursor: zoom-in; }
.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 1.2rem; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 7, .94); backdrop-filter: blur(14px); }
.lightbox-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 48px minmax(0, 920px) 48px; gap: 1rem; align-items: center; width: min(100%, 1060px); }
.lightbox-figure { margin: 0; min-width: 0; }
.lightbox-image { display: block; width: 100%; height: min(70vh, 680px); object-fit: contain; background: #080b0f; border: 1px solid var(--border); border-radius: 4px; }
.lightbox-caption { display: flex; justify-content: space-between; gap: 2rem; padding: 1.1rem 0 0; }
.lightbox-kicker { font-family: 'DM Mono', monospace; color: var(--primary); font-size: .64rem; letter-spacing: .13em; }
.lightbox-title { font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -.04em; margin: .35rem 0; }
.lightbox-description { color: var(--muted); max-width: 690px; font-size: .82rem; line-height: 1.65; }
.lightbox-counter { align-self: end; white-space: nowrap; color: var(--primary); font-family: 'DM Mono', monospace; font-size: .72rem; }
.lightbox-close, .lightbox-nav { border: 1px solid var(--border); background: rgba(16,20,27,.9); color: var(--text); cursor: pointer; }
.lightbox-close { position: absolute; z-index: 2; right: 60px; top: -42px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.45rem; }
.lightbox-nav { width: 44px; height: 44px; border-radius: 50%; font-size: 1.15rem; }
.lightbox-close:hover, .lightbox-nav:hover { color: var(--primary); border-color: var(--primary); }
.outcomes-section { border-top: 1px solid var(--border); }
.outcomes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.outcomes-grid article { background: var(--surface); padding: 1.8rem; min-height: 210px; }
.outcomes-grid span { color: var(--primary); font-family: 'DM Mono', monospace; font-size: .7rem; }
.outcomes-grid h3 { margin: 2.6rem 0 .55rem; font-size: 1.1rem; }
.outcomes-grid p { color: var(--muted); font-size: .84rem; line-height: 1.7; }
.trust-section { padding-top: 1rem; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.testimonial { position: relative; background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); border: 1px solid var(--border); padding: 1.5rem; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0.7; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, border-color .25s ease; }
.testimonial.active { opacity: 1; transform: translateY(0); border-color: rgba(215,255,84,.42); }
.quote-mark { font-size: 3rem; line-height: 1; color: var(--primary); font-weight: 700; }
.testimonial p { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.testimonial-meta { display: flex; flex-direction: column; gap: .1rem; margin-top: 1rem; }
.testimonial-meta strong { font-size: .96rem; }
.testimonial-meta span { color: var(--muted); font-size: .74rem; font-family: 'DM Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.testimonial-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1rem; }
.testimonial-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); border: 0; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.testimonial-dots .dot.active { background: var(--primary); transform: scale(1.25); }

.faq-section { background: #0c1015; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 6rem; }
.faq-grid h2 { margin: .6rem 0 1.3rem; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-list summary { cursor: pointer; list-style: none; font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--primary); font-size: 1.2rem; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); font-size: .84rem; line-height: 1.75; max-width: 620px; padding: .8rem 2rem 0 0; }

.portfolio-hero { max-width: 920px; }
.portfolio-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin: 0 0 1.4rem; }
.portfolio-filters button { border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); padding: .65rem .95rem; cursor: pointer; font: 700 .72rem 'DM Mono', monospace; }
.portfolio-filters button.active, .portfolio-filters button:hover { border-color: var(--primary); color: var(--primary); }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, 280px); }
.portfolio-grid .project-large { grid-row: span 2; }
.project-card.is-hidden { display: none; }

@media (max-width: 820px) {
  .hero-content,
  .about-grid,
  .contact-box,
  .card-grid,
  .stats,
  .showcase,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 1rem;
  }

  .showcase-gallery {
    grid-template-columns: 1fr;
  }

  .showcase-gallery img:last-child {
    grid-column: span 1;
    height: 220px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content { padding-top: 3rem; min-height: auto; }
  .nav { min-height: 104px; }
  .logo { width: 290px; height: 80px; }
  .brand-mark { width: 76px; height: 76px; flex-basis: 76px; }
  .brand-mark img { width: 72px; height: 72px; }
  .brand-wordmark strong { font-size: 1.25rem; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .systems-visual { transform: none; }
  .hero-visual { transform: none; }
  .hero-image { height: 300px; }
  .stats { margin-top: 1rem; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .stats > div:last-child { border-bottom: 0; }
  .intro-grid, .split-heading, .process-section { gap: 2rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-feature { grid-row: auto; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: 280px 220px 220px; }
  .systems-panel { min-height: 360px; }
  .portfolio-categories { grid-template-columns: 1fr; }
  .portfolio-categories a { min-height: 130px; border-right: 0; border-bottom: 1px solid var(--border); }
  .portfolio-categories a:last-child { border-bottom: 0; }
  .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .portfolio-grid .project-card { min-height: 240px; }
  .portfolio-grid .project-large { grid-row: auto; }
  .project-large { grid-row: auto; }
  .cta-section { padding: 2rem; gap: 2rem; align-items: flex-start; flex-direction: column; }
  .chatbot { right: 1rem; bottom: 1rem; }
  .outcomes-grid, .faq-grid, .testimonials { grid-template-columns: 1fr; gap: 2rem; }
  .outcomes-grid { gap: 1px; }
  .outcomes-grid article { min-height: auto; }
  .testimonial { min-height: auto; }
  .lightbox-shell { grid-template-columns: 38px minmax(0, 1fr) 38px; gap: .4rem; }
  .lightbox-image { height: 58vh; }
  .lightbox-close { right: 0; top: -48px; }
  .lightbox-caption { display: block; }
  .lightbox-counter { margin-top: .8rem; }
}
