/* ===================================================================
   Lumecis — Business & Technology Consulting
   Dark grey theme · animated · pure HTML/CSS
   =================================================================== */

:root {
  --bg:        #161719;
  --bg-2:      #1c1d20;
  --bg-3:      #202226;
  --surface:   #25272b;
  --surface-2: #2c2f34;
  --line:      #34373d;
  --text:      #e8e9eb;
  --muted:     #9aa0a8;
  --faint:     #6c727b;
  --accent:    #7c5cff;
  --accent-2:  #36c6c0;
  --grad:      linear-gradient(110deg, #8a6bff 0%, #36c6c0 100%);
  --radius:    18px;
  --shadow:    0 24px 60px -20px rgba(0,0,0,.6);
  --maxw:      1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad);
  color: #0e0f11;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,.55);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 16px 40px -12px rgba(124,92,255,.7); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(124,92,255,.08); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--full { width: 100%; padding: 16px; }

/* ===================================================================
   Navigation
   =================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(22,23,25,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: 'Sora'; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 0 22px -2px rgba(124,92,255,.6);
  position: relative;
}
.brand__mark::after { content: ""; position: absolute; inset: 7px; background: var(--bg); border-radius: 3px; }
.brand__text span { color: var(--accent-2); }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { font-size: .92rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.btn { color: #0e0f11; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===================================================================
   Hero
   =================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; transform: scale(1.05); animation: slowZoom 22s ease-in-out infinite alternate; }
@keyframes slowZoom { to { transform: scale(1.16); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% -10%, rgba(124,92,255,.20), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(54,198,192,.16), transparent 55%),
    linear-gradient(180deg, rgba(22,23,25,.55) 0%, rgba(22,23,25,.92) 78%, var(--bg) 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 70%);
}
.hero__content { position: relative; z-index: 2; padding: 130px 24px 80px; max-width: 920px; }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; margin-bottom: 24px; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero__stats { display: flex; gap: 56px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: 'Sora'; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.hero__stats span { color: var(--faint); font-size: .85rem; }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--accent-2); border-radius: 2px; animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,12px); } }

/* ===================================================================
   Logos marquee
   =================================================================== */
.logos { padding: 54px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.logos__head { text-align: center; color: var(--faint); font-size: .9rem; margin-bottom: 30px; letter-spacing: .02em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-family: 'Sora'; font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; color: var(--faint); white-space: nowrap; transition: color .3s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================================================================
   Section scaffolding
   =================================================================== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ===================================================================
   Services cards
   =================================================================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-3));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 1.4rem; color: var(--accent-2);
  background: rgba(54,198,192,.10); border: 1px solid var(--line);
  margin-bottom: 22px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.card__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card__list li { color: var(--faint); font-size: .88rem; padding-left: 20px; position: relative; }
.card__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ===================================================================
   Split — approach
   =================================================================== */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.split__badge {
  position: absolute; bottom: -22px; right: -16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 22px; box-shadow: var(--shadow);
}
.split__badge strong { display: block; font-family: 'Sora'; font-size: 1.6rem; }
.split__badge span { color: var(--faint); font-size: .8rem; }
.split__body h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 16px; }

.steps { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.step { display: flex; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-3); transition: border-color .3s, transform .3s; }
.step:hover { border-color: var(--accent); transform: translateX(6px); }
.step__num { font-family: 'Sora'; font-weight: 700; font-size: 1.4rem; color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ===================================================================
   Impact band
   =================================================================== */
.impact { overflow: hidden; }
.impact__bg { position: absolute; inset: 0; z-index: 0; }
.impact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.impact__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(22,23,25,.85) 100%); }
.impact .container { position: relative; z-index: 2; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.impact__item { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(37,39,43,.6); backdrop-filter: blur(6px); transition: transform .3s, border-color .3s; }
.impact__item:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.impact__item strong { display: block; font-family: 'Sora'; font-size: clamp(2.2rem, 4vw, 3.2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.impact__item span { color: var(--muted); font-size: .9rem; display: block; margin-top: 10px; }

/* ===================================================================
   Work
   =================================================================== */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.work__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.work__img { aspect-ratio: 16/10; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work__card:hover .work__img img { transform: scale(1.08); }
.work__body { padding: 24px; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); background: rgba(54,198,192,.10); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.work__body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.work__body p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.link { color: var(--accent-2); font-weight: 600; font-size: .9rem; transition: color .2s; }
.link:hover { color: var(--text); }

/* ===================================================================
   Quote
   =================================================================== */
.quote { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.quote__mark { font-family: 'Sora'; font-size: 6rem; line-height: .5; color: var(--accent); opacity: .35; height: 50px; }
.quote blockquote { font-family: 'Sora'; font-weight: 600; font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.4; letter-spacing: -.01em; margin-bottom: 30px; }
.quote__author { display: inline-flex; align-items: center; gap: 14px; }
.quote__author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.quote__author strong { display: block; }
.quote__author span { color: var(--faint); font-size: .88rem; }

/* ===================================================================
   Team
   =================================================================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member__img { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); position: relative; }
.member__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter .4s, transform .5s; }
.member:hover .member__img img { filter: grayscale(0); transform: scale(1.05); }
.member h3 { font-size: 1.1rem; }
.member span { color: var(--accent-2); font-size: .85rem; }

/* ===================================================================
   Contact
   =================================================================== */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.contact__points { list-style: none; margin: 26px 0; display: flex; flex-direction: column; gap: 10px; }
.contact__points li { color: var(--muted); }
.contact__meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 10px; }
.contact__meta a { color: var(--accent-2); font-weight: 600; }
.contact__meta a:hover { color: var(--text); }
.contact__address { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-style: normal; }
.contact__address-icon { line-height: 1.6; }
.contact__address a { color: var(--muted); font-size: .95rem; line-height: 1.6; transition: color .2s; }
.contact__address a:hover { color: var(--text); }

.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,92,255,.18); }
.contact__form .btn { grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; text-align: center; color: var(--faint); font-size: .82rem; }

/* ===================================================================
   Footer
   =================================================================== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin-top: 16px; max-width: 320px; }
.footer__address { color: var(--faint); font-size: .88rem; font-style: normal; line-height: 1.7; margin-top: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { font-family: 'Sora'; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 16px; }
.footer__cols a { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; padding: 24px 24px 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; flex-wrap: wrap; gap: 10px; }

/* ===================================================================
   Reveal animation
   =================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* stagger children in grids */
.cards .card:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3) { transition-delay: .16s; }
.cards .card:nth-child(4) { transition-delay: .24s; }
.impact__item:nth-child(2) { transition-delay: .08s; }
.impact__item:nth-child(3) { transition-delay: .16s; }
.impact__item:nth-child(4) { transition-delay: .24s; }
.work__card:nth-child(2) { transition-delay: .1s; }
.work__card:nth-child(3) { transition-delay: .2s; }
.member:nth-child(2) { transition-delay: .08s; }
.member:nth-child(3) { transition-delay: .16s; }
.member:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .marquee__track, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .cards, .impact__grid, .team { grid-template-columns: repeat(2, 1fr); }
  .work { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__badge { right: 16px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 76px; right: 0; left: 0;
    background: rgba(22,23,25,.97); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .35s ease; pointer-events: none;
  }
  .nav__links.open { transform: translateY(0); pointer-events: auto; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a.btn { margin-top: 14px; border: none; text-align: center; }
  .nav__toggle { display: flex; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero__stats { gap: 32px; }
  .hero__stats strong { font-size: 1.9rem; }
  .section { padding: 80px 0; }
}

@media (max-width: 480px) {
  .cards, .impact__grid, .team { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 24px; }
  .footer__cols { grid-template-columns: 1fr; }
}
