:root {
  --bg: #0b0b0d;
  --bg-soft: #141418;
  --text: #f5f5f6;
  --muted: #b9b9c2;
  --gold: #d6b36a;
  --gold-soft: #af8a44;
  --gold-glow: rgba(214, 179, 106, 0.35);
  --card: rgba(255, 255, 255, 0.03);
  --stroke: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #09090b 0%, #101014 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 84px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 10px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--muted);
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.88), rgba(10, 10, 12, 0.68));
  border-bottom: 1px solid rgba(214, 179, 106, 0.35);
  backdrop-filter: blur(12px);
  transition: all 260ms ease;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 179, 106, 0.65), transparent);
}

.topbar.scrolled {
  background: rgba(8, 8, 10, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.topbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: min-height 260ms ease;
}

.topbar.scrolled .topbar-inner {
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 22px rgba(0, 0, 0, 0.28);
  transition: border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.brand:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 18px rgba(212, 175, 55, 0.15);
  transform: translateY(-1px);
}

.brand-mark {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(13, 13, 16, 0.95), rgba(24, 24, 28, 0.75));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.24), 0 8px 18px rgba(0, 0, 0, 0.32);
  position: relative;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 11px;
}

.brand-mark-inner {
  position: relative;
  width: 31px;
  height: 31px;
  display: block;
  color: #d4af37;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.brand-e,
.brand-k {
  position: absolute;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-e {
  left: 0;
  top: 2px;
  font-size: 1.24rem;
}

.brand-k {
  right: -1px;
  bottom: 0;
  font-size: 1.2rem;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text {
  font-size: 1.01rem;
  color: #f5f0e6;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(212, 175, 55, 0.78);
  font-weight: 600;
}

.topbar.scrolled .brand {
  transform: scale(0.96);
  transform-origin: left center;
}

.mobile-menu-btn {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  background: #111216;
  border-bottom: 1px solid var(--stroke);
  display: grid;
  gap: 10px;
  padding: 14px 4%;
  transform: translateY(-14px);
  opacity: 0;
  pointer-events: none;
  transition: all 260ms ease;
}

.nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav a {
  color: #f6f6f6;
  position: relative;
  width: fit-content;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 260ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(115deg, rgba(4, 4, 5, 0.9) 12%, rgba(7, 7, 8, 0.48) 58%, rgba(4, 4, 5, 0.84) 100%),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1900&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 420ms ease, background-image 800ms ease;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 32%, rgba(214, 179, 106, 0.16), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  margin-bottom: 14px;
  max-width: 760px;
}

.hero-subtitle {
  max-width: 620px;
  font-size: clamp(1rem, 3.2vw, 1.18rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 22px;
  font-weight: 700;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(140deg, var(--gold) 0%, #c6a359 100%);
  color: #151515;
  box-shadow: 0 12px 30px rgba(214, 179, 106, 0.3);
}

.btn-outline {
  border: 1px solid rgba(214, 179, 106, 0.7);
  color: var(--gold);
}

.btn-line {
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  margin-top: 14px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.5rem);
}

.stats-grid,
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.glass-card,
.icon-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.glass-card h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.project-grid {
  display: grid;
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border-radius: 24px;
  background: #121217;
  border: 1px solid rgba(214, 179, 106, 0.24);
  transition: transform 360ms ease, box-shadow 360ms ease, border-color 320ms ease;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(214, 179, 106, 0.62);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5), 0 0 22px rgba(214, 179, 106, 0.2);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-body {
  padding: 22px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.project-body small {
  display: block;
  color: #d2d2d8;
  margin-top: 10px;
}

.project-meta {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.project-meta span {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(214, 179, 106, 0.26);
  border-radius: 999px;
  padding: 5px 10px;
  color: #e7d6af;
  font-size: 0.76rem;
  background: rgba(214, 179, 106, 0.08);
}

.completed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.completed-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.completed-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 300ms ease, filter 300ms ease;
}

.completed-card .overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  padding: 16px;
}

.completed-card:hover img {
  transform: scale(1.04);
  filter: saturate(1);
}

.why {
  background: linear-gradient(180deg, #0a0a0c 0%, #0c0c0f 100%);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(214, 179, 106, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 12px;
  box-shadow: 0 10px 20px rgba(214, 179, 106, 0.15);
}

.icon-card {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.icon-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 179, 106, 0.55);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.42), 0 0 18px rgba(214, 179, 106, 0.15);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.gold-line {
  width: 90px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 280px;
  object-fit: cover;
}

.contact {
  background: linear-gradient(160deg, #0f1014 10%, #0a0a0c 90%);
  border-top: 1px solid rgba(214, 179, 106, 0.22);
  border-bottom: 1px solid rgba(214, 179, 106, 0.2);
}

.contact-form {
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #14151a;
  border: 1px solid #262730;
  color: #f4f4f5;
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid rgba(214, 179, 106, 0.6);
}

.info-link {
  display: inline-block;
  color: var(--gold);
  margin: 14px 0 16px;
  font-weight: 700;
}

.footer {
  border-top: 1px solid rgba(214, 179, 106, 0.3);
  padding: 66px 0 48px;
  background: #09090b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.footer-brand {
  color: var(--gold);
  margin-bottom: 10px;
}

.footer a {
  display: block;
  color: #d9d9dd;
  margin-top: 8px;
  transition: color 220ms ease, transform 220ms ease;
}

.footer a:hover {
  color: #f3e2b6;
  transform: translateX(3px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(214, 179, 106, 0.12), #08080a 52%);
  z-index: 99;
  display: grid;
  place-items: center;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 10px;
  box-shadow: 0 0 24px rgba(214, 179, 106, 0.18);
}

@media (min-width: 760px) {
  .mobile-menu-btn {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    gap: 24px;
    background: transparent;
    border: none;
    padding: 0;
    opacity: 1;
    pointer-events: all;
    transform: none;
  }

  .stats-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .completed-grid {
    gap: 16px;
  }

  .completed-card img {
    height: 230px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .section-padding {
    padding: 112px 0;
  }

  .stats-grid,
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .brand {
    padding: 6px 10px 6px 6px;
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand-mark::before {
    inset: 5px;
    border-radius: 9px;
  }

  .brand-mark-inner {
    width: 26px;
    height: 26px;
  }

  .brand-e {
    font-size: 1.03rem;
    top: 1px;
  }

  .brand-k {
    font-size: 1rem;
  }

  .brand-text {
    font-size: 0.84rem;
  }

  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }
}
