/* SM Tech — Website UI Kit styles
   Derived from neptun-design-gmbh.webflow CSS but rewritten minimal.
   Depends on ../../colors_and_type.css variables. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg-primary);
  background: var(--bg-page);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.sm-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.sm-eyebrow {
  font-family: var(--font-body);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-on-dark); opacity: .65; margin: 0 0 18px;
}
.sm-opacity-70 { opacity: .7; }

.sm-link {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Buttons */
.sm-btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 64px; padding: 0 28px 0 32px;
  border: none; border-radius: var(--radius-pill);
  background: var(--accent-cyan); color: var(--fg-on-navy);
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.sm-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.sm-btn .material-symbols-rounded { font-size: 26px; }

/* Navigation ---------------------------------------------------------------- */
.sm-nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 28px;
  background: var(--bg-navy);
  color: var(--fg-on-navy);
}
.sm-nav__brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.sm-nav__brand img { width: 36px; height: 36px; }
.sm-nav__brand-name { font-family: var(--font-heading); font-weight: 500; font-size: 20px; letter-spacing: .02em; }

.sm-nav__cta {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--fg-on-navy);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background .2s ease;
}
.sm-nav__cta:hover { background: rgba(255,255,255,.12); }

.sm-nav__menu {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; border: none; color: var(--fg-on-navy);
  font-family: var(--font-body); font-size: 14px; cursor: pointer;
}
.sm-nav__burger { display: inline-flex; flex-direction: column; gap: 4px; }
.sm-nav__burger span {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 1px;
}

/* Aside menu overlay ------------------------------------------------------- */
.sm-aside {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10, 21, 43, .7); backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.sm-aside.is-open { opacity: 1; pointer-events: auto; }
.sm-aside__inner {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(480px, 92vw);
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 90px 60px 40px;
  display: flex; flex-direction: column; gap: 40px;
  box-shadow: var(--shadow-lg);
}
.sm-aside__close {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: none; color: var(--fg-on-navy);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.sm-aside__links { display: flex; flex-direction: column; gap: 10px; }
.sm-aside__link {
  font-family: var(--font-heading); font-weight: 300; font-size: 42px; line-height: 1.1;
  color: var(--fg-on-navy); text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.sm-aside__link:hover { color: var(--accent-cyan); transform: translateX(4px); }
.sm-aside__link.is-active { color: var(--accent-cyan); }

.sm-aside__small { display: flex; flex-direction: column; gap: 8px; opacity: .8; }
.sm-aside__small a { color: var(--fg-on-navy); text-decoration: none; font-size: 14px; }
.sm-aside__small a:hover { color: var(--accent-cyan); }

/* Hero -------------------------------------------------------------------- */
.sm-hero {
  position: relative;
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 120px 28px 140px;
  overflow: hidden;
}
.sm-hero__media { position: absolute; inset: 0; z-index: 0; }
.sm-hero__media-bg {
  position: absolute; inset: -5%;
  background:
    radial-gradient(circle at 75% 40%, rgba(45,149,213,.35), transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(30,115,190,.25), transparent 45%),
    var(--bg-navy-deep);
  filter: saturate(1.1);
}
.sm-hero__content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
}
.sm-hero__column { padding-top: 20px; }
.sm-hero__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(48px, 5.8vw, 92px); line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 32px;
}
.sm-hero__lead {
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  max-width: 520px; margin: 0 0 40px; color: var(--fg-on-navy); opacity: .85;
}
.sm-hero__lead strong { font-weight: 600; }

.sm-hero__stats {
  display: flex; flex-direction: column; gap: 24px;
  padding: 32px 28px; border-radius: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  align-self: start;
}
.sm-hero__stat-big {
  font-family: var(--font-heading); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0;
}
.sm-hero__stat-small { font-size: 13px; opacity: .7; margin: 4px 0 0; }
.sm-hero__mail-btn {
  margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; border-radius: var(--radius-pill);
  background: var(--fg-on-navy); color: var(--bg-navy);
  font-weight: 600; text-decoration: none;
}

/* Process ----------------------------------------------------------------- */
.sm-process {
  position: relative;
  padding: 140px 28px 120px;
  background: var(--bg-navy); color: var(--fg-on-navy);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sm-process__mark { width: 64px; height: 64px; margin: 0 auto 24px; display: block; }
.sm-process__eyebrow { margin-bottom: 18px; }
.sm-process__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(36px, 3.6vw, 56px); line-height: 1.2;
  max-width: 900px; margin: 0 auto 40px;
}
.sm-process__grid {
  position: relative;
  max-width: 1200px; margin: 80px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: left;
}
.sm-process__line {
  position: absolute; top: 48px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.sm-process__card { display: flex; flex-direction: column; align-items: flex-start; }
.sm-process__icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.sm-process__icon-inner {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(180deg, var(--logo-g-start), var(--logo-g-end));
  display: grid; place-items: center;
  color: white;
}
.sm-process__icon-inner .material-symbols-rounded { font-size: 30px; }
.sm-process__card-title {
  font-family: var(--font-heading); font-weight: 500; font-size: 28px; margin: 0 0 12px;
}
.sm-process__card-text { font-size: 14px; line-height: 1.5; opacity: .75; margin: 0; }

/* Stats strip ------------------------------------------------------------- */
.sm-stats-strip {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 100px 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sm-stats-strip__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.sm-stats-strip__item { display: flex; align-items: center; gap: 24px; }
.sm-stats-strip__circle {
  position: relative;
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,255,255,.03);
  display: grid; place-items: center;
  color: var(--fg-on-navy);
  flex-shrink: 0;
}
.sm-stats-strip__circle .material-symbols-rounded {
  font-size: 30px;
  background: linear-gradient(180deg, var(--logo-g-start), var(--logo-g-end));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sm-stats-strip__outline {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.18);
  animation: sm-spin 22s linear infinite;
}
.sm-stats-strip__outline--2 { inset: -10px; animation-direction: reverse; opacity: .5; }
@keyframes sm-spin { to { transform: rotate(360deg); } }

.sm-stats-strip__big { font-family: var(--font-heading); font-weight: 500; font-size: 28px; margin: 0; }
.sm-stats-strip__small { font-size: 14px; opacity: .7; margin: 4px 0 0; }

/* Services hero + list ---------------------------------------------------- */
.sm-services-hero {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 160px 0 120px;
}
.sm-services-hero__stack {
  display: flex; flex-direction: column; gap: 0;
}
.sm-services-hero__line {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(64px, 8vw, 140px); line-height: .95; letter-spacing: -0.02em;
  margin: 0;
}
.sm-services-hero__line.is-editorial {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
}
.sm-services-hero__split { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.sm-services-hero__line--accent {
  display: inline-block;
  padding: 0 28px; border-radius: var(--radius-pill);
  background: var(--accent-cyan); color: var(--fg-on-navy);
  font-family: var(--font-display); font-style: normal;
}
.sm-services-hero__lead { margin-top: 32px; max-width: 560px; opacity: .8; font-size: 18px; }

.sm-services {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 60px 0 140px;
}
.sm-services__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(32px, 3vw, 48px); line-height: 1.2;
  max-width: 900px; margin: 0 0 60px;
}
.sm-services__list { display: flex; flex-direction: column; }
.sm-services__row {
  display: grid; grid-template-columns: 120px 1fr 48px;
  align-items: center; gap: 32px;
  padding: 36px 0; border-top: 1px solid rgba(255,255,255,.12);
  color: var(--fg-on-navy); text-decoration: none;
  transition: padding .25s ease, background .25s ease;
}
.sm-services__row:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.sm-services__row:hover {
  padding-left: 16px; background: rgba(255,255,255,.02);
}
.sm-services__row:hover .sm-services__arrow { transform: translateX(6px); }
.sm-services__num {
  font-family: var(--font-body); font-size: 14px; opacity: .5; letter-spacing: .1em;
}
.sm-services__row-title {
  font-family: var(--font-heading); font-weight: 400; font-size: 40px; margin: 0; line-height: 1.1;
}
.sm-services__row-sub { font-size: 15px; opacity: .65; margin: 10px 0 0; max-width: 620px; }
.sm-services__arrow { font-size: 36px; opacity: .7; transition: transform .3s ease; }

/* Marquee ---------------------------------------------------------------- */
.sm-marquee {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.sm-marquee__track {
  display: flex; gap: 80px;
  animation: sm-marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.sm-marquee__item {
  font-family: var(--font-heading); font-weight: 500; font-size: 28px; opacity: .55;
  white-space: nowrap;
}
@keyframes sm-marquee { to { transform: translateX(-50%); } }

/* Testimonial ----------------------------------------------------------- */
.sm-testimonial {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 140px 28px;
  text-align: center;
}
.sm-testimonial__inner { max-width: 820px; }
.sm-testimonial__icon {
  width: 72px; height: 72px; margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--logo-g-start), var(--logo-g-end));
  display: grid; place-items: center; color: white;
}
.sm-testimonial__icon .material-symbols-rounded { font-size: 34px; }
.sm-testimonial__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1.3;
  margin: 0 0 28px;
}
.sm-testimonial__body { font-size: 16px; opacity: .75; margin: 0 0 28px; }
.sm-testimonial__person { font-family: var(--font-heading); font-weight: 500; font-size: 18px; margin: 0; }
.sm-testimonial__role { font-size: 14px; opacity: .6; margin: 2px 0 28px; }

/* CTA band ------------------------------------------------------------- */
.sm-cta-band {
  display: block;
  background: var(--bg-navy-deep); color: var(--fg-on-navy);
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sm-cta-band__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 80px 40px;
}
.sm-cta-band__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(54px, 7vw, 120px); line-height: 1.1; margin: 0;
  transition: color .25s ease;
}
.sm-cta-band__arrow { font-size: 80px; transition: transform .3s ease; }
.sm-cta-band:hover .sm-cta-band__title { color: var(--accent-cyan); }
.sm-cta-band:hover .sm-cta-band__arrow { transform: translateX(12px); color: var(--accent-cyan); }

/* Footer --------------------------------------------------------------- */
.sm-footer {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 80px 40px 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sm-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 56px; }
.sm-footer__brand img { width: 36px; height: 36px; }
.sm-footer__brand-name { font-family: var(--font-heading); font-weight: 500; font-size: 22px; margin: 0; }

.sm-footer__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sm-footer__row.is-2 { padding-top: 40px; grid-template-columns: 1fr 1fr; }
.sm-footer__link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg-on-navy); text-decoration: none;
  font-family: var(--font-heading); font-weight: 400; font-size: 22px;
}
.sm-footer__burger { display: inline-flex; flex-direction: column; gap: 4px; }
.sm-footer__burger span { display:block; width:18px; height:2px; background: currentColor; border-radius: 1px; }

.sm-footer__links {
  display: flex; gap: 36px; justify-content: center; flex-wrap: wrap;
}
.sm-footer__links a { color: var(--fg-on-navy); text-decoration: none; font-size: 15px; opacity: .75; }
.sm-footer__links a:hover { opacity: 1; color: var(--accent-cyan); }

.sm-footer__mini { display: flex; gap: 28px; }
.sm-footer__mini a {
  color: var(--fg-on-navy); text-decoration: none; opacity: .7; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.sm-footer__mini a:hover { opacity: 1; color: var(--accent-cyan); }

.sm-footer__fine { margin-top: 40px; font-size: 12px; opacity: .5; text-align: center; }

/* About page ---------------------------------------------------------- */
.sm-about {
  background: var(--bg-navy); color: var(--fg-on-navy);
  padding: 120px 28px;
}
.sm-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sm-about__photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(45,149,213,.5), transparent 60%),
    linear-gradient(180deg, #0f2a4a, #1b3a6b);
  position: relative;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.sm-about__photo-label {
  position: absolute; bottom: 20px; left: 24px;
  font-size: 12px; opacity: .55; letter-spacing: .15em; text-transform: uppercase;
}
.sm-about__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(32px, 3.4vw, 52px); line-height: 1.2;
  margin: 0 0 24px;
}
.sm-about__lead { font-size: 17px; line-height: 1.6; opacity: .8; margin: 0 0 32px; }

/* Contact page ------------------------------------------------------ */
.sm-contact { background: var(--bg-navy); color: var(--fg-on-navy); padding: 120px 28px; }
.sm-contact__inner { max-width: 860px; margin: 0 auto; }
.sm-contact__eyebrow { margin-bottom: 16px; }
.sm-contact__title {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(36px, 3.4vw, 54px); line-height: 1.2;
  margin: 0 0 56px;
}
.sm-contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px;
}
.sm-contact__field label {
  display: block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  opacity: .55; margin-bottom: 10px;
}
.sm-contact__field input,
.sm-contact__field textarea {
  width: 100%;
  background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.2);
  color: var(--fg-on-navy);
  font-family: var(--font-body); font-size: 18px;
  padding: 8px 0 14px;
  outline: none;
  transition: border-color .2s ease;
  resize: vertical;
}
.sm-contact__field input:focus,
.sm-contact__field textarea:focus { border-bottom-color: var(--accent-cyan); }
.sm-contact__field input::placeholder,
.sm-contact__field textarea::placeholder { color: rgba(255,255,255,.3); }

.sm-contact__field--full { grid-column: 1 / -1; }
.sm-contact__submit-row {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; flex-wrap: wrap; gap: 16px;
}
.sm-contact__small { font-size: 14px; opacity: .6; margin: 0; }

/* Shell ---------------------------------------------------------- */
.sm-app { background: var(--bg-navy); min-height: 100vh; }
