:root {
  --ink: #0c1a22;
  --ink-soft: #1a3340;
  --mist: #e8f0f2;
  --paper: #f4f7f8;
  --line: rgba(12, 26, 34, 0.12);
  --accent: #1f7a6c;
  --accent-deep: #145a50;
  --glow: rgba(47, 140, 124, 0.22);
  --text: #1c2e36;
  --muted: #5a727c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background: var(--paper);
  line-height: 1.55;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #f5fafb;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
}

nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
nav a {
  color: rgba(245, 250, 251, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
nav a:hover { color: #fff; }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #f5fafb;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 15% 20%, var(--glow), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(120, 170, 190, 0.18), transparent 50%),
    linear-gradient(160deg, #071319 0%, #123040 48%, #1a4a52 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 85%);
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 240, 242, 0.72);
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  animation: rise 0.9s ease 0.08s both;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: 1.1rem;
  color: rgba(244, 247, 248, 0.86);
  animation: rise 1s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 1.05s ease 0.24s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #f4f7f8;
  color: var(--ink);
}
.btn-primary:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  color: #f4f7f8;
  border: 1px solid rgba(244, 247, 248, 0.35);
}
.btn-ghost:hover { border-color: #fff; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--ink);
}
.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

.service-list {
  margin-top: 2.25rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-list article {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.service-list h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}
.service-list p {
  margin: 0;
  color: var(--muted);
}

.domains {
  background: linear-gradient(180deg, transparent, rgba(31, 122, 108, 0.06));
}
.domain-row {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.domain-row li {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form {
  margin-top: 2rem;
  max-width: 40rem;
  display: grid;
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, textarea:focus {
  outline: 2px solid rgba(31, 122, 108, 0.35);
  border-color: var(--accent);
}
.contact-form .btn-primary {
  background: var(--accent);
  color: #fff;
  justify-self: start;
}
.contact-form .btn-primary:hover { background: var(--accent-deep); }
.contact-form .btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
}
.form-status.ok { color: var(--accent-deep); }
.form-status.err { color: #b42318; }

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.foot-links {
  display: flex;
  gap: 1rem;
}
.foot a {
  color: var(--ink-soft);
  text-decoration: none;
}
.foot a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  nav a:not(.nav-cta) { display: none; }
  .service-list article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 6.5rem; }
}
