:root {
  --background: #081224;
  --foreground: #f6f7fa;
  --panel: rgba(11, 22, 48, 0.88);
  --panel-soft: rgba(255, 255, 255, 0.96);
  --border: rgba(154, 165, 182, 0.22);
  --steel-900: #061128;
  --steel-800: #0b1630;
  --steel-700: #14213f;
  --steel-600: #21314e;
  --steel-400: #6f8099;
  --rust-400: #ff5a1f;
  --rust-500: #c8102e;
  --rust-600: #990c24;
  --stone-100: #f0f1f4;
  --stone-200: #d6dde8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--foreground);
  background: #061128;
  font-family: "Inter", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-shell {
  width: min(92rem, calc(100% - 32px)) !important;
  max-width: none !important;
  margin: 0 auto;
}
.grid-lines {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.texture-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    linear-gradient(180deg, rgba(200, 16, 46, 0.06), rgba(255,255,255,0));
  box-shadow: var(--shadow);
}
.texture-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(200, 16, 46, 0.12), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 14px
    );
  pointer-events: none;
}
.map-ring {
  border: 1px solid rgba(255, 90, 31, 0.22);
  box-shadow: 0 0 0 8px rgba(200, 16, 46, 0.08);
  background:
    radial-gradient(circle at center, rgba(255, 90, 31, 0.16) 0 18%, transparent 18% 33%, rgba(192, 192, 192, 0.08) 33% 36%, transparent 36% 100%),
    radial-gradient(circle at center, rgba(200, 16, 46, 0.08) 0 56%, transparent 56% 100%);
}
.site-nav-link { position: relative; padding-bottom: 0.35rem; }
.site-nav-link.is-active::after,
.site-nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rust-500);
}
.hero-glow {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 90, 31, 0.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(200, 16, 46, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(11, 22, 48, 0.98), rgba(6, 17, 40, 0.98));
}
.admin-tab.is-active {
  background: var(--steel-900);
  color: #fff;
  border-color: var(--steel-900);
}
::selection { background: rgba(255, 90, 31, 0.34); color: #ffffff; }
.input-shell,
.contact-form-control {
  color: #ffffff;
  caret-color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.input-shell::placeholder,
.contact-form-control::placeholder {
  color: rgba(198, 212, 224, 0.82);
  -webkit-text-fill-color: rgba(198, 212, 224, 0.82);
}

.input-shell:-webkit-autofill,
.input-shell:-webkit-autofill:hover,
.input-shell:-webkit-autofill:focus,
.contact-form-control:-webkit-autofill,
.contact-form-control:-webkit-autofill:hover,
.contact-form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 0 0 1000px rgba(255,255,255,0.06) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.contact-form-control,
.contact-form-control:focus,
.contact-form-control:active,
.contact-form-control:hover {
  color: #ffffff !important;
  caret-color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.12) !important;
}

.contact-form-control::placeholder {
  color: rgba(198, 212, 224, 0.82) !important;
  -webkit-text-fill-color: rgba(198, 212, 224, 0.82) !important;
}

.contact-form-control:-webkit-autofill,
.contact-form-control:-webkit-autofill:hover,
.contact-form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 0 1000px rgba(255,255,255,0.06) inset !important;
  border-color: rgba(255,255,255,0.12) !important;
  transition: background-color 5000s ease-in-out 0s;
}

.contact-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.contact-upload-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.contact-upload-preview a {
  max-width: 250px;
}

.contact-upload-preview img {
  max-width: 250px;
}
.gallery-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1200px);
}
.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}
.gallery-lightbox__shell {
  position: relative;
  padding: 48px 0 0;
}
.gallery-lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(6,17,40,0.92);
  color: #fff;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.gallery-lightbox__image {
  display: block;
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(255,255,255,0.12);
  background: #061128;
}
.gallery-lightbox-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
