@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg:          #0a0b0f;
  --bg2:         #111318;
  --bg3:         #1a1b22;
  --accent:      #f5a623;
  --accent-dim:  rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.25);
  --text:        #f0f0f5;
  --text-muted:  #7a8099;
  --border:      rgba(255, 255, 255, 0.07);
  --nav-h:       70px;
  --radius:      10px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { padding: 0; margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* ==================== NAVBAR ==================== */
nav {
  height: var(--nav-h);
  width: 100%;
  position: fixed;
  top: 0; z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
nav .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo a {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--text);
}
.nav-logo a span { color: var(--accent); }
.navlinks ul {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.navlinks ul li a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.navlinks ul li a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.navlinks ul li a:hover { color: var(--text); }
.navlinks ul li a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  background: none;
  border: none;
}

@media (min-width: 851px) { .menu-btn { display: none; } }
@media (max-width: 850px) {
  .menu-btn { display: block; }
  .navlinks {
    position: absolute;
    top: var(--nav-h); right: 0;
    width: 280px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 0 var(--radius);
    display: none;
    flex-direction: column;
    padding: 20px;
  }
  .navlinks ul { flex-direction: column; gap: 0; }
  .navlinks ul li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .navlinks ul li:last-child a { border-bottom: none; }
  .showlinks { display: flex; animation: fadeDown 0.3s ease; }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background: var(--bg);
}
.page-header .section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.page-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1.1;
}
.page-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.section-line {
  width: 40px; height: 2px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: 0 0 100px;
  background: var(--bg);
}
.contact-grid {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 30px;
  align-items: start;
}

/* Info card */
.contacts-info {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
}
.contacts-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.contacts-info > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 17px;
  flex-shrink: 0;
}
.info-text h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.info-text p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.info-text a {
  color: var(--accent);
  font-size: 14px;
}

/* Form card */
.contact-form-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
}
.contact-form-wrap h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
form input,
form textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
form input::placeholder,
form textarea::placeholder {
  color: var(--text-muted);
}
form input:focus,
form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
form textarea {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  background: var(--accent);
  color: #0a0b0f;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.submit-btn:hover {
  background: #ffc44d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.submit-btn i { font-size: 15px; }

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .contact-form-wrap { padding: 28px 20px; }
}

/* ==================== FOOTER ==================== */
footer {
  width: 100%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}
footer .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}
.footer-brand span { color: var(--accent); }
footer p { font-size: 13px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: all var(--transition);
}
.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
footer small a { color: var(--accent); }
