:root {
  --bg: #050505;
  --panel: #101010;
  --panel-soft: #17130b;
  --text: #f6f0df;
  --muted: #b8ad93;
  --gold: #d6aa43;
  --gold-2: #f3d27a;
  --gold-deep: #7d5b1e;
  --line: rgba(214, 170, 67, .22);
  --shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  z-index: -1;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(5, 5, 5, .9), rgba(5, 5, 5, .58));
  border-bottom: 1px solid rgba(214, 170, 67, .14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: radial-gradient(circle at 35% 30%, rgba(243, 210, 122, .2), rgba(214, 170, 67, .04) 60%, rgba(255,255,255,.02));
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #ddd0ae;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.main-nav a {
  opacity: .82;
  transition: color .2s ease, opacity .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-2);
  opacity: 1;
}

.nav-cta {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(214, 170, 67, .08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(214, 170, 67, .07);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-2);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: -1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .68) 43%, rgba(5, 5, 5, .24) 100%),
    linear-gradient(to top, rgba(5, 5, 5, .35), rgba(5, 5, 5, .12));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.05);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Rajdhani, Inter, Arial, sans-serif;
  font-weight: 300;
  line-height: .9;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 74px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 400;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-copy,
.section-heading p,
.rich-text p,
.services-grid p,
.portfolio-card p,
.contact-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #171006;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 40px rgba(214, 170, 67, .22);
}

.button-ghost {
  color: var(--gold-2);
  border-color: var(--line);
  background: rgba(5, 5, 5, .45);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(980px, 100%);
  border: 1px solid rgba(214, 170, 67, .18);
  background: rgba(214, 170, 67, .18);
  box-shadow: var(--shadow);
}

.hero-stats span {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: rgba(8, 8, 8, .72);
  color: var(--muted);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  color: var(--gold-2);
  font-family: Rajdhani, Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 36px;
}

.intro-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(214, 170, 67, .05), rgba(214, 170, 67, .12), rgba(214, 170, 67, .05));
}

.marquee {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 20px 0;
  animation: slide 30s linear infinite;
}

.marquee span {
  color: #ead7a5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(214, 170, 67, .05);
  cursor: pointer;
}

.filter-button.is-active {
  color: #171006;
  border-color: transparent;
  background: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .94), rgba(0, 0, 0, .2) 56%, rgba(0, 0, 0, .02));
  z-index: 1;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  transform: scale(1.02);
  transition: transform .35s ease, opacity .35s ease;
}

.portfolio-card:hover img {
  opacity: .95;
  transform: scale(1.07);
}

.portfolio-card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.portfolio-meta span,
.tag {
  padding: 7px 9px;
  border: 1px solid rgba(214, 170, 67, .26);
  color: #f4d98b;
  background: rgba(0, 0, 0, .42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(214, 170, 67, .06), rgba(255, 255, 255, .015));
}

.rich-text {
  padding-top: 8px;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: rgba(214, 170, 67, .18);
}

.services-grid article {
  min-height: 310px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(23, 19, 11, .96), rgba(8, 8, 8, .96));
}

.services-grid span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--gold-2);
  font-family: Rajdhani, Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: 40px;
}

.admin-section {
  background: #080808;
}

.portfolio-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(214, 170, 67, .07), rgba(255, 255, 255, .02));
}

.portfolio-form label {
  display: grid;
  gap: 9px;
  color: #e8d6a8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.portfolio-form .full,
.portfolio-form .check,
.portfolio-form .form-status {
  grid-column: 1 / -1;
}

.portfolio-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(214, 170, 67, .24);
  border-radius: 0;
  color: var(--text);
  background: rgba(0, 0, 0, .42);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-2);
}

.form-status {
  margin: 0;
  color: var(--gold-2);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(214, 170, 67, .17), rgba(5, 5, 5, .86)),
    #111;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: flex;
  justify-content: space-between;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  color: #f4d98b;
  font-size: 22px;
  font-weight: 800;
}

.contact-actions a::after {
  content: "↗";
}

.contact-note {
  grid-column: 1 / -1;
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(243, 210, 122, .42);
  color: #171006;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42), 0 10px 28px rgba(214, 170, 67, .2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.whatsapp-float::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: #1f6f43;
  box-shadow: 0 0 0 5px rgba(31, 111, 67, .18);
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(214, 170, 67, .12), transparent 34%),
    var(--bg);
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.admin-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 42px;
}

.admin-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 94px);
}

.admin-hero p:not(.eyebrow),
.admin-key-field {
  color: var(--muted);
}

.admin-panel {
  margin-bottom: 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(214, 170, 67, .07), rgba(255, 255, 255, .02));
}

.admin-panel .section-heading {
  margin-bottom: 24px;
}

.admin-key-field {
  display: grid;
  gap: 9px;
  max-width: 520px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-project-list {
  display: grid;
  gap: 12px;
}

.admin-project-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(214, 170, 67, .18);
  background: rgba(0, 0, 0, .28);
}

.admin-project-item img {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border: 1px solid rgba(214, 170, 67, .18);
}

.admin-project-item strong,
.admin-project-item span {
  display: block;
}

.admin-project-item span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.admin-project-item button {
  min-height: 42px;
  border: 1px solid rgba(214, 170, 67, .26);
  color: var(--gold-2);
  background: rgba(214, 170, 67, .06);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-project-item button:disabled {
  opacity: .55;
  cursor: wait;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #030303;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 91px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, .96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px;
  }

  .hero-stats,
  .portfolio-grid,
  .services-grid,
  .contact-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-bottom: 38px;
  }
}

@media (max-width: 680px) {
  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-top: 124px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, .95), rgba(5, 5, 5, .72)),
      linear-gradient(to top, rgba(5, 5, 5, .55), rgba(5, 5, 5, .08));
  }

  h1 {
    font-size: 42px;
  }

  .portfolio-form {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 420px;
  }

  .site-footer {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 15px;
  }

  .admin-hero,
  .admin-project-item {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    display: grid;
  }

  .admin-project-item img {
    width: 100%;
    height: 160px;
  }
}
