:root {
  --bg: #e8f6f4;
  --panel: #e9e7e5;
  --text: #0b0e14;
  --muted: #5b6270;
  --line: rgba(10, 14, 20, .10);
  --blue: #1f6bff;
  --blue-press: #1655cc;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .08);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none
}

.section a:link {
  color: rgb(25, 97, 204);
}

/* Visited link */
.section a:visited {
  color: purple;
}

/* Mouse over link */
.section a:hover {
  color: rgb(1, 86, 212);
  text-decoration: underline;
}

/* Selected link */
.section a:active {
  color: red;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 241, 241, 0.25);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 2em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f6bff, #00c2a8);
  box-shadow: 0 10px 24px rgba(31, 107, 255, .25);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

nav a {
  font-size: 14px;
  color: rgba(11, 14, 20, .85)
}

nav a:hover {
  color: rgba(11, 14, 20, 1)
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px)
}

.btn:active {
  transform: translateY(0)
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}

.btn.primary:hover {
  background: #256fff
}

.btn.primary:active {
  background: var(--blue-press)
}

.btn.ghost {
  background: transparent
}

/* Hero */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  padding: 64px 0 56px;
  align-items: center;
}

h1 {
  font-size: 64px;
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -.045em;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-media {
  position: relative;
  min-height: 380px;
}

.card {
  position: absolute;
  right: 0;
  top: 10px;
  width: 92%;
  height: 86%;
  border-radius: 24px;
  background: rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .05);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(31, 107, 255, .22), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0, 194, 168, .22), transparent 45%),
    radial-gradient(circle at 60% 10%, rgba(255, 255, 255, .35), transparent 35%);
  transform: rotate(10deg);
}

.ghost-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .25;
  font-weight: 800;
  font-size: 64px;
}

.photo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0)),
    url("");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow);
}

/* Services */
.section {
  padding: 72px 0;
}

.section.panel {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  text-align: center;
  font-size: 42px;
  margin: 0 0 44px;
  letter-spacing: -.04em;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.feature {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  padding: 28px;
  min-height: 190px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  margin-bottom: 18px;
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* CTA band */
.cta {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .20)),
    url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1600&q=60");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-top: 1px solid rgba(0, 0, 0, .1);
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 64px 0;
  align-items: center;
}

.cta h3 {
  margin: 0 0 10px;
  font-size: 44px;
  letter-spacing: -.04em;
}

.cta p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, .85);
}

.form {
  display: flex;
  justify-content: flex-end;
}

.contact-form {
  display: grid;
  gap: 10px
}

.form-inner {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  outline: none;
  font-size: 14px;
}

label {
  font-size: 12px;
  color: var(--muted2)
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus {
  box-shadow: var(--ring);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border))
}

textarea {
  min-height: 110px;
  resize: vertical
}

.input::placeholder {
  color: rgba(255, 255, 255, .65)
}

.small {
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
  margin-top: 10px;
}

.btn.light {
  background: #fff;
  color: var(--text);
  border-color: transparent;
  height: 44px;
  padding: 0 16px;
  font-weight: 700;
}

/* Footer */
footer {
  padding: 34px 0;
  background: #fff;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(11, 14, 20, .70);
  font-size: 13px;
  flex-wrap: wrap;
}

.foot a {
  color: rgba(11, 14, 20, .70)
}

.foot a:hover {
  color: rgba(11, 14, 20, 1)
}

.foot-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* Mobile */
.menu-btn {
  display: none
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 44px 0 44px;
  }

  h1 {
    font-size: 48px
  }

  .hero-media {
    min-height: 340px
  }

  .photo {
    width: 64%
  }

  .cta-grid {
    grid-template-columns: 1fr;
    padding: 52px 0
  }

  .form {
    justify-content: flex-start
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .section {
    padding: 54px 0
  }

  .section h2 {
    font-size: 34px
  }
}

@media (max-width: 680px) {
  nav ul {
    display: none
  }

  .mobile-nav {
    display: none;
    padding: 10px 0 18px;
  }

  .mobile-nav.open {
    display: block
  }

  .mobile-nav a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  h1 {
    font-size: 40px
  }

  .photo {
    width: 72%
  }

  .form-row {
    flex-direction: column
  }

  .btn.light {
    width: 100%
  }
}