:root {
  --bg: #030303;
  --bg-soft: #090909;
  --panel: #111111;
  --panel-2: #171717;
  --text: #ffffff;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #b45309;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand-main {
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  margin-top: 8px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: #e7e7e7;
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: white;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--accent);
  color: black;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.16), transparent 30%),
    rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.hero-content {
  padding: 140px 0 80px;
  max-width: 930px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  margin: 0 0 18px;
}

.hero .eyebrow {
  color: #dedede;
}

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

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  line-height: 0.95;
  margin-bottom: 24px;
}

.lead {
  color: #d4d4d8;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 58px;
}

.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.signature{
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.signature strong{
  display: block;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.signature span{
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.page-hero {
  padding: 160px 0 78px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(245, 158, 11, 0.14), transparent 30%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  margin-bottom: 22px;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(0,0,0,0.92));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.project-overlay small,
.card small {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.project-overlay h3 {
  font-size: 1.75rem;
  margin: 9px 0 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.55rem;
  margin: 10px 0 14px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.06;
  margin-bottom: 24px;
}

.split p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-list {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.service-pill {
  border: 1px solid var(--line);
  background: #060606;
  border-radius: 18px;
  padding: 16px 18px;
  color: #f5f5f5;
}

.craftsmanship-section{
  background: #0f0f0f;
}

.craft-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.craft-card{
  background: #171717;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: 0.3s ease;
}

.craft-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,162,76,0.35);
}

.craft-card h3{
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.craft-card p{
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: #d4d4d8;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.options-header{
  max-width: 850px;
  margin-bottom: 48px;
}

.options-header p{
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.option-category{
  margin-top: 56px;
}

.option-category h3{
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

.option-image-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.option-image-card,
.hardware-card{
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.25s ease;
}

.option-image-card:hover,
.hardware-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,162,76,0.35);
}

.option-image-card img,
.hardware-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #222;
}

.option-image-card div{
  padding: 22px;
}

.option-image-card h4,
.hardware-card h4{
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.option-image-card p,
.hardware-card p{
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  margin: 0;
}

.hardware-note{
  max-width: 760px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.7);
}

.hardware-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.hardware-card{
  padding-bottom: 18px;
}

.hardware-card h4,
.hardware-card p{
  padding-left: 18px;
  padding-right: 18px;
}

.hardware-card h4{
  padding-top: 16px;
}

.collection-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.collection-card{
  display: block;
  background: #151515;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  transition: 0.25s ease;
}

.collection-card:hover{
  transform: translateY(-5px);
  border-color: rgba(212,162,76,0.45);
}

.collection-card img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background: #222;
}

.collection-card-content{
  padding: 24px;
}

.collection-card small{
  color: #d4a24c;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.collection-card h4{
  color: #fff;
  margin: 10px 0;
  font-size: 1.25rem;
}

.collection-card p{
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  margin-bottom: 18px;
}

.collection-card span{
  color: #fff;
  font-weight: 700;
}

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

.form {
  display: grid;
  gap: 16px;
}

.input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #050505;
  color: white;
  min-height: 52px;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  font: inherit;
}

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

.input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

.login-card {
  max-width: 460px;
  margin: 0 auto;
}

.portal-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.status-step {
  border: 1px solid var(--line);
  background: black;
  color: var(--muted);
  border-radius: 18px;
  padding: 18px;
  font-weight: 700;
}

.status-step.done {
  background: var(--accent);
  color: black;
  border-color: var(--accent);
}

.document-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: #050505;
  border: 1px solid var(--line);
  color: white;
  padding: 15px 16px;
  border-radius: 15px;
  margin-top: 12px;
}

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

.photo-row img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.photo-only-card {
  cursor: pointer;
}

.photo-only-card::after {
  display: none;
}

.photo-only-card img {
  min-height: 420px;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  background: #020202;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: none;
  place-items: center;
  padding: 28px;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 82vh;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  border: 1px solid var(--line);
  background: black;
  color: white;
  border-radius: 14px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  font-size: 1.5rem;
}



@media (max-width: 980px) {
  .nav {
    position: fixed;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(5,5,5,0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .menu-btn {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  .grid-3,
  .grid-2,
  .split,
  .contact-grid,
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .status-grid,
  .photo-row {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 82px 0;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-main {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .page-hero {
    padding-top: 140px;
  }

  .project-card,
  .project-card img {
    min-height: 330px;
  }

  .status-grid,
  .photo-row {
    grid-template-columns: 1fr;
  }
}

.brand-with-logo {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.site-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #050505;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
}


.manager-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.manager-sidebar {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.manager-sidebar .card {
  overflow: hidden;
}

.manager-main {
  min-width: 0;
}

.manager-selects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.manager-dropzone {
  border: 1px dashed rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.06);
  border-radius: 22px;
  padding: 26px;
  text-align: center;
}

.manager-dropzone input {
  margin-top: 18px;
  width: 100%;
}

.manager-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.manager-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}





.icon-btn {
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: black;
  color: white;
  padding: 0 12px;
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.manager-preview {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.preview-logo-box {
  display: grid;
  place-items: center;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #050505;
  padding: 18px;
}

.preview-logo-box img {
  max-height: 100px;
  object-fit: contain;
}

.status-note {
  color: var(--muted-2);
  line-height: 1.6;
  font-size: 0.92rem;
}


/* ===== Website Admin / Media Manager Fix ===== */
.admin-section { padding-top: 70px; }
.admin-stack { display: grid; gap: 28px; }
.admin-upload-card { overflow: hidden; }
.admin-card-head, .media-section-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; margin-bottom: 22px;
}
.admin-card-head h3, .media-section-head h3 { margin-bottom: 0; }
.admin-upload-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  align-items: end;
  gap: 16px;
}
.admin-upload-form .manager-dropzone { min-height: 120px; }
.admin-brand-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 24px; align-items: center;
}
.media-section {
  margin-bottom: 0; padding: 28px; border: 1px solid var(--line);
  border-radius: 24px; background: #080808; overflow: hidden;
}
.media-section h3 { font-size: 1.55rem; margin-bottom: 8px; }
.media-section p { color: var(--muted); margin-bottom: 0; }
.media-list { display: grid; gap: 16px; }
.media-item {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 18px; align-items: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px; padding: 14px;
}
.media-thumb {
  width: 120px; height: 90px; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line); background: #050505;
}
.media-meta { min-width: 0; }
.media-meta h3 { margin-bottom: 6px; font-size: 1.05rem; }
.media-meta p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.media-actions { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; }
.icon-btn {
  min-height: 38px; border-radius: 12px; border: 1px solid var(--line);
  background: black; color: white; padding: 0 12px; cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.preview-logo-box {
  display: grid; place-items: center; min-height: 140px;
  border: 1px solid var(--line); border-radius: 20px;
  background: #050505; padding: 18px;
}
.preview-logo-box img { max-height: 100px; object-fit: contain; }
.status-note { color: var(--muted-2); line-height: 1.6; font-size: 0.92rem; margin-top: 12px; }

@media (max-width: 1150px) {
  .admin-upload-form { grid-template-columns: 1fr 1fr; }
  .admin-upload-form .manager-dropzone { grid-column: 1 / -1; }
}
@media (max-width: 750px) {
  .admin-card-head, .media-section-head, .admin-brand-grid, .admin-upload-form {
    grid-template-columns: 1fr; display: grid;
  }
  .media-item { grid-template-columns: 1fr; }
  .media-thumb { width: 100%; height: 220px; }
  .media-actions { justify-content: flex-start; flex-wrap: wrap; }
}

/* ===== SELECTIONS PAGE ===== */

.hardware-option-groups {
    display: flex;
    flex-direction: column;
    gap: 60px;
}



