:root {
  --bg: #0d0b09;
  --bg-soft: #151210;
  --card: #1b1714;
  --text: #f3ede6;
  --muted: #c8b9a7;
  --accent: #c79a63;
  --line: #2c241e;
  --max: 1120px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 1.08;
}

section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #1b130d;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #120f0d;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

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

form {
  display: grid;
  gap: 14px;
}

.submit-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--accent);
  border: none;
  color: #1b130d;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

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

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

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

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(20, 18, 16, 0.96);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-color: rgba(80, 160, 100, 0.45);
  background: rgba(29, 53, 35, 0.96);
}

.toast.error {
  border-color: rgba(190, 80, 80, 0.45);
  background: rgba(70, 28, 28, 0.96);
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;

  display: flex;
  flex-direction: column;
  padding: 8px 0;

  background: rgba(15, 12, 10, 0.96);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  backdrop-filter: blur(8px);

  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;

  z-index: 1200;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 16px;
  width: 10px;
  height: 10px;
  background: rgba(15, 12, 10, 0.9);
  transform: rotate(45deg);
  border-left: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.dropdown:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  white-space: nowrap;
  color: var(--muted);
  border-radius: 8px;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
}
@media (max-width: 920px) {
  .nav {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: none;
    border: none;
    padding: 0;
  }

  .dropdown a {
    padding-left: 16px;
    font-size: 0.95rem;
    color: var(--muted);
  }
}