:root {
  --navy: #071526;
  --navy-2: #0b1f3a;
  --teal: #1aa6a6;
  --teal-2: #5eead4;
  --ink: #e8f1f8;
  --muted: #9bb0c4;
  --line: rgba(94, 234, 212, 0.18);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--navy);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7, 21, 38, 0.92), rgba(7, 21, 38, 0.55));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--teal-2);
}

.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.65);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(26, 166, 166, 0.25);
  color: var(--teal-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #1aa6a6, #0e7c8a);
  color: #041018;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.35) 0%, rgba(7, 21, 38, 0.72) 55%, rgba(7, 21, 38, 0.96) 100%),
    url("../images/hero-bg.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 45%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(26, 166, 166, 0.28), transparent 65%);
  filter: blur(8px);
  animation: pulseGlow 5.5s ease-in-out infinite;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(0, -1.5%, 0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.hero-inner {
  padding: 7.5rem 0 4.5rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  animation: riseIn 0.9s ease both;
}

.hero-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.35), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hero-brand span {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.55rem);
  line-height: 1.08;
  font-weight: 700;
  animation: riseIn 1s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  animation: riseIn 1s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: riseIn 1s ease 0.24s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--teal-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.products-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: stretch;
}

.products-visual {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a1830;
  min-height: 320px;
}

.products-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.feature {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(26, 166, 166, 0.08), rgba(11, 31, 58, 0.55));
}

.feature .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  color: var(--teal-2);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service,
.why-item {
  padding: 1.35rem 1.25rem;
  border-top: 2px solid rgba(26, 166, 166, 0.55);
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.85), rgba(7, 21, 38, 0.2));
}

.service h3,
.why-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.service p,
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.tiles {
  margin-top: 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cta-band {
  padding: 3.5rem 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(26, 166, 166, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.4), rgba(7, 21, 38, 0.95));
  border-block: 1px solid var(--line);
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact a.mail {
  color: var(--teal-2);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-cols {
  display: flex;
  gap: 2.5rem;
}

.footer-cols h4 {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.85rem;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li + li {
  margin-top: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .products-layout,
  .services-grid,
  .why-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(7, 21, 38, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-panel .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand img {
    width: 58px;
    height: 58px;
  }
}
