:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #526077;
  --border: #e2e8f0;
  --accent: #2bb3bf;
  --accent-ink: #06121a;
  --hero-bg: #1a1a38;
  --hero-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1226;
    --text: #e6ecf5;
    --muted: #9aa8bd;
    --border: #232845;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
  color: var(--hero-text);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(14, 16, 40, .35) 0%, rgba(14, 16, 40, .15) 40%, rgba(14, 16, 40, .55) 100%),
    url("hero.jpg") left center / cover no-repeat,
    var(--hero-bg);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .06em;
}
.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-bottom: 8vh;
}
.hero h1 {
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.15;
  margin: 0;
  max-width: 14em;
  text-shadow: 0 2px 24px rgba(10, 12, 30, .45);
}

.brand-mark { color: #7fe3ea; flex: none; filter: drop-shadow(0 0 10px rgba(43, 179, 191, .45)); }

/* Contact */
.section { padding: 96px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; margin: 0 0 20px; letter-spacing: -.01em; }
.contact { text-align: center; max-width: 640px; }
.contact p:not(.eyebrow) { color: var(--muted); margin-bottom: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .section { padding: 72px 0; }
}
.nowrap { white-space: nowrap; }

/* Contact form */
.contact-section h2 { font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 40px; }
.form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}
.form input[type=text], .form input[type=email], .form textarea {
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 6px;
  padding: 16px 18px;
}
.form ::placeholder { color: var(--muted); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #2bb3bf44; }
.form textarea { resize: vertical; min-height: 180px; }
.check { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 1rem; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); margin: 0; }
.btn-send {
  align-self: center;
  background: var(--text);
  color: var(--bg);
  border: 0;
  border-radius: 6px;
  padding: 16px 40px;
  font: inherit;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn-send:hover { transform: translateY(-1px); filter: brightness(1.25); }
.btn-send:disabled { opacity: .6; cursor: default; }
.hp { display: none; }
.status { text-align: center; min-height: 1.4em; margin: 0; color: var(--muted); }
.status.ok { color: #138a5a; }
.status.err { color: #c0392b; }
@media (prefers-color-scheme: dark) {
  .status.ok { color: #5fd3a0; }
  .status.err { color: #ff8a8a; }
}
