:root {
  --bg: #08111f;
  --bg-soft: #0d1728;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #b9c4d6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #c89a5a;
  --accent-dark: #9e7640;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1200px;
  --header-height: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #060d19 0%, #0b1424 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #050b14;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-line {
  width: min(220px, 70vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.loader-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loading 1.1s linear infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  border-bottom: 1px solid transparent;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.site-header.hide {
  transform: translateY(-100%);
}

.site-header.scrolled {
  background: rgba(6, 13, 25, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-color: var(--line);
  box-shadow: inset 0 -1px 0 var(--line), 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}

.site-header,
.site-header *,
.header-inner,
.header-inner * {
  border-bottom: none !important;
}

.site-header::before,
.site-header::after,
.header-inner::before,
.header-inner::after {
  display: none !important;
  content: none !important;
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #f1d2a3);
  color: #111826;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(200, 154, 90, 0.28);
}

.logo-text {
  font-size: 1rem;
  color: var(--white);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active-link {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a.active-link::after {
  width: 100%;
}

.menu-toggle {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(7, 14, 26, 0.97);
  border-bottom: 1px solid transparent;
  transition: max-height 0.35s ease, border-color 0.35s ease;
}

.mobile-nav.open {
  max-height: 320px;
  border-color: var(--line);
}

.mobile-nav a {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-main.section {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 70px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 50px;
}

.section-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.section-head p,
.contact-card p,
.footer-brand p,
.footer-info p,
.footer-info a,
.cta-content p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  padding: 34px 30px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 154, 90, 0.38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-card h2,
.cta-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-list a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info-list a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #e0bb88);
  color: #111827;
}

.cta.section {
  padding-top: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 46px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(200, 154, 90, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.cta-content {
  max-width: 760px;
}

.site-footer {
  padding: 90px 0 30px;
  border-top: 1px solid var(--line);
  background: #07111e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 34px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info h3,
.footer-links h3 {
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-bottom .footer-legal,
.footer-bottom .footer-credit {
  margin: 0;
  color: #8d9ab0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-legal {
  text-align: left;
  flex: 1 1 auto;
}

.footer-credit {
  text-align: right;
  flex: 0 0 auto;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-credit-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.footer-credit-link:hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-legal,
  .footer-credit {
    text-align: center;
    width: 100%;
  }

  .footer-credit {
    padding-top: 4px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: flex-start;
  }

  .cta-box {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .section {
    padding: 88px 0;
  }

  .contact-main.section {
    padding-top: calc(var(--header-height) + 56px);
    padding-bottom: 40px;
  }

  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 34px 24px;
  }

  .cta.section {
    padding-bottom: 40px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .cta-box {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .logo-text {
    font-size: 1rem !important;
  }

  .contact-card {
    padding: 28px 22px;
  }

  .btn {
    width: 100%;
  }

  .cta-box {
    display: flex;
    flex-direction: column;
  }
}
