:root {
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #5f5f64;
  --line: rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.7);
  --primary: #0071e3;
  --primary-deep: #0058b3;
  --radius-xl: clamp(1.2rem, 2vw, 1.8rem);
  --radius-lg: 1rem;
  --shadow: 0 25px 60px rgba(25, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(0, 113, 227, 0.14), transparent 62%),
    radial-gradient(800px 380px at 90% 0%, rgba(82, 196, 26, 0.11), transparent 58%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.45;
  pointer-events: none;
}

.ambient--one {
  width: 360px;
  height: 360px;
  background: rgba(0, 113, 227, 0.25);
  top: -100px;
  right: -90px;
}

.ambient--two {
  width: 320px;
  height: 320px;
  background: rgba(82, 196, 26, 0.2);
  bottom: -120px;
  left: -80px;
}

.header,
main,
.footer {
  width: min(1140px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0.8rem;
  z-index: 80;
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
}

.logo__mark {
  width: 2.05rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.6rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #0a84ff, #45c0ff);
}

.logo__text {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 2.7rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #2b2b31;
}

.menu-toggle span + span {
  margin-top: 0.34rem;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: #3a3a40;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.lang-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  min-width: 3rem;
  padding: 0.35rem 0.6rem;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 2.8rem;
  text-align: center;
}

.hero__kicker,
.section__head p,
.contact__intro p:first-child {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  font-size: 0.74rem;
  color: #286dd7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.05rem, 7vw, 4.95rem);
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-inline: auto;
}

.hero__lead {
  margin: 1rem auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.hero__actions {
  margin-top: 1.7rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #2f9dff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 113, 227, 0.26);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--text);
}

.hero__showcase {
  margin-top: 2.2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__showcase img {
  width: 100%;
  display: block;
  height: clamp(280px, 48vw, 560px);
  object-fit: cover;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 1rem;
}

.hero__metrics > div {
  padding: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero__metrics strong {
  display: block;
  margin-bottom: 0.28rem;
}

.hero__metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(2.6rem, 7vw, 5rem) 0;
}

.section__head h2,
.contact__intro h2 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  max-width: 18ch;
}

.cards {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
}

.card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.chips {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  padding: 0.64rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
}

.contact {
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.8vw, 1.9rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact__intro p {
  color: var(--muted);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.72rem;
}

.lead-form label {
  display: grid;
  gap: 0.32rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form__full {
  grid-column: 1 / -1;
}

.lead-form__note,
.lead-form__status {
  margin: 0;
  color: var(--muted);
}

.lead-form__status {
  min-height: 1.2em;
  color: #0a7e32;
  font-weight: 700;
}

.glass {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer {
  padding: 0.8rem 0 2rem;
}

.footer p {
  margin: 0;
  color: #67676c;
  text-align: center;
  font-weight: 600;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .cards,
  .hero__metrics,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header {
    border-radius: 1rem;
    gap: 0.75rem;
  }

  .header__menu {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .lang-toggle {
    justify-self: end;
  }

  .nav {
    width: 100%;
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.42rem;
    border-radius: 0.85rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
  }

  .nav a {
    padding: 0.68rem 0.72rem;
    border-radius: 0.6rem;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(0, 113, 227, 0.08);
  }

  .header.menu-open .nav {
    display: flex;
  }

  .cards,
  .hero__metrics,
  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
