:root {
  --ink: #0f1c24;
  --ink-soft: #243640;
  --muted: #5a6d78;
  --paper: #f3f1ec;
  --paper-2: #e8ecea;
  --line: rgba(15, 28, 36, 0.1);
  --teal: #1f9e94;
  --teal-bright: #2ec4b6;
  --gold: #c4a35a;
  --white: #fffdf9;
  --max: 1120px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Top —— */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.top.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--ink); background: rgba(15, 28, 36, 0.05); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  margin-left: 0.35rem;
}
.nav-cta:hover { background: var(--ink-soft) !important; }

@media (max-width: 820px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, #0a151b 0%, #123039 48%, #0f242c 100%);
}

.hero-mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 80%;
  background:
    radial-gradient(ellipse 50% 55% at 18% 35%, rgba(46, 196, 182, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 50% at 78% 20%, rgba(196, 163, 90, 0.16), transparent 55%),
    radial-gradient(ellipse 40% 45% at 60% 70%, rgba(31, 158, 148, 0.18), transparent 60%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
  animation: grid-shift 28s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}
.hero-orb--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  right: -8%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.35), transparent 70%);
  animation: orb-float 12s ease-in-out infinite;
}
.hero-orb--b {
  width: min(30vw, 260px);
  height: min(30vw, 260px);
  left: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.22), transparent 70%);
  animation: orb-float 15s ease-in-out infinite reverse;
}

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.05); }
}
@keyframes grid-shift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}
@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -18px, 0); }
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 8.5rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 244, 242, 0.72);
}

.brand-hero {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #fff 20%, #9fe8df 70%, #e6d3a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 14ch;
  color: #f4f8f7;
}

.hero h1 { margin: 0; }

.hero-lead {
  margin: 1.4rem 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(232, 244, 242, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal-bright);
  color: var(--ink);
}
.btn-primary:hover { background: #5ad4c8; }
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* —— Strip —— */
.strip {
  background: var(--ink);
  color: var(--white);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(46, 196, 182, 0.25);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  letter-spacing: -0.04em;
  color: var(--teal-bright);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat span {
  font-size: 0.9rem;
  color: rgba(232, 244, 242, 0.68);
}

@media (max-width: 800px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 14ch;
}

.section-lead {
  margin: 1.15rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.service-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  padding-top: 0.15rem;
}

.service h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.service p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.approach {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (max-width: 860px) {
  .approach { grid-template-columns: 1fr; }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.steps span { color: var(--muted); font-size: 0.98rem; }

.sectors {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
}

.sector {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.sector h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.sector p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .sectors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sectors { grid-template-columns: 1fr; }
  .service { grid-template-columns: 3rem 1fr; }
}

.section-products {
  background: var(--ink);
  color: var(--white);
}

.section-products .section-kicker { color: var(--teal-bright); }
.section-products .section-lead { color: rgba(232, 244, 242, 0.7); }

.products {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product {
  display: grid;
  gap: 0.55rem;
  padding: 1.6rem 1.4rem;
  background: #12242c;
  text-decoration: none;
  transition: background 0.25s ease;
}
.product:hover { background: #163039; }

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.product strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.product span:last-child {
  color: rgba(232, 244, 242, 0.68);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .products { grid-template-columns: 1fr; }
}

/* —— Contact —— */
.contact {
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(46, 196, 182, 0.12), transparent 55%),
    var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}

.contact-panel {
  display: grid;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-row:hover {
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line));
  transform: translateY(-1px);
}
.contact-row span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.contact-note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Footer —— */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-foot span { font-size: 0.95rem; }
.brand-foot img { width: 32px; height: 32px; border-radius: 8px; }

.foot p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mesh, .hero-grid, .hero-orb { animation: none; }
}

/* —— About —— */
.section-about {
  background: linear-gradient(180deg, var(--paper), #ebe8e2);
}

.about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.about-photo {
  position: relative;
  width: 148px;
  flex-shrink: 0;
}

.about-photo img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #c8c8c8;
  filter: grayscale(1) contrast(1.05) brightness(1.02) blur(1.1px);
  opacity: 0.88;
}

.about-name {
  margin: 0.85rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-role {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

.about-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.about-points li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 820px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-photo {
    width: 120px;
  }
  .about-photo img {
    width: 120px;
    height: 120px;
  }
}

/* —— Chat widget —— */
.nt-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 80;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.nt-chat__fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a8f86, #146f68);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 28, 36, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nt-chat.is-open .nt-chat__fab {
  display: none;
}
.nt-chat__fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 28, 36, 0.34);
}

.nt-chat__panel {
  display: none;
  width: min(360px, calc(100vw - 1.4rem));
  max-height: min(560px, calc(100vh - 2rem));
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: #f7f9f8;
  border: 1px solid rgba(15, 28, 36, 0.12);
  box-shadow: 0 18px 48px rgba(15, 28, 36, 0.28);
}
.nt-chat.is-open .nt-chat__panel {
  display: flex;
}

.nt-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #0f1c24, #163840);
  color: #fff;
}

.nt-chat__head-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.nt-chat__head-brand img {
  border-radius: 0.45rem;
  flex-shrink: 0;
  background: #0f1c24;
}
.nt-chat__head-brand strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}
.nt-chat__head-brand span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
}

.nt-chat__close {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.nt-chat__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e4eeec;
  border-bottom: 1px solid rgba(15, 28, 36, 0.08);
}
.nt-chat__tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.55rem;
  cursor: pointer;
}
.nt-chat__tab.is-active {
  background: #f7f9f8;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.nt-chat__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.nt-chat__body[hidden],
.nt-chat__faq[hidden] {
  display: none !important;
}

.nt-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  max-height: 240px;
}

.nt-chat__bubble {
  max-width: 88%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.85rem;
  line-height: 1.4;
  font-size: 0.86rem;
}
.nt-chat__bubble--bot {
  justify-self: start;
  background: #fff;
  border: 1px solid rgba(15, 28, 36, 0.08);
  color: var(--ink);
  border-bottom-left-radius: 0.25rem;
}
.nt-chat__bubble--user {
  justify-self: end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.nt-chat__composer {
  padding: 0.75rem 0.9rem 0.95rem;
  border-top: 1px solid rgba(15, 28, 36, 0.08);
  background: #eef4f2;
}

.nt-chat__hint {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.nt-chat__channels {
  display: grid;
  gap: 0.5rem;
}

.nt-chat__channel {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  border: 1px solid rgba(15, 28, 36, 0.1);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}
.nt-chat__channel strong {
  font-size: 0.88rem;
  color: var(--ink);
}
.nt-chat__channel span {
  font-size: 0.75rem;
  color: var(--muted);
}
.nt-chat__channel--wa {
  border-color: rgba(37, 211, 102, 0.35);
}

.nt-chat__btn {
  width: 100%;
  border: none;
  border-radius: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.35rem;
}
.nt-chat__btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(15, 28, 36, 0.14);
}

.nt-chat__field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.nt-chat__field input,
.nt-chat__field textarea {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(15, 28, 36, 0.14);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
  resize: vertical;
}

.nt-chat__error {
  margin: 0.35rem 0 0;
  color: #b42318;
  font-size: 0.78rem;
}

.nt-chat__faq {
  padding: 0.85rem 0.9rem 1rem;
  overflow-y: auto;
  max-height: 420px;
}
.nt-chat__faq-lead {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.nt-chat__faq-item {
  border: 1px solid rgba(15, 28, 36, 0.1);
  border-radius: 0.7rem;
  background: #fff;
  margin-bottom: 0.45rem;
  overflow: hidden;
}
.nt-chat__faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.7rem 0.8rem;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  color: var(--ink);
}
.nt-chat__faq-a {
  display: none;
  padding: 0 0.8rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.nt-chat__faq-item.is-open .nt-chat__faq-a {
  display: block;
}
