:root {
  --max-width: 1040px;
  --bg: #0b1220;
  --text: #e6eefc;
  --muted: #b8c7e6;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --accent: #6fb1ff;
  --accent-2: #7cf0d2;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  position: relative;
  isolation: isolate;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  background: transparent;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(111, 177, 255, 0.18), transparent 60%),
              radial-gradient(900px 600px at 80% 10%, rgba(124, 240, 210, 0.12), transparent 55%),
              var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; }
a:hover { color: var(--accent); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 12px 0;
  min-width: 0;
}

.site-header__inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__title {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand__tagline {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 100%;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  flex: 0 0 auto;
}

.nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
}

.callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

.site-header__actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(111, 177, 255, 0.55);
  outline-offset: 2px;
}

.nav-toggle__icon {
  width: 18px;
  height: 14px;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand__tagline {
    display: none;
  }

  .brand__title {
    font-size: 0.95rem;
  }

  .site-header {
    position: sticky;
  }

  .site-header__actions {
    display: inline-flex;
  }

  /* Hide desktop nav in the top bar on mobile; it becomes a dropdown panel. */
  .nav {
    display: none;
  }

  .nav.nav--mobile {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    max-width: none;
    padding: 10px 16px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    white-space: normal;
    overflow: visible;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(10px);
  }

  .nav.nav--mobile.nav--collapsed {
    display: none;
  }

  .nav.nav--mobile a {
    width: 100%;
    padding: 10px 10px;
    border-radius: 12px;
  }

  /* Call button is shown in header actions on mobile. */
  .nav.nav--mobile .callout {
    display: none;
  }
}

.hero {
  padding: 44px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

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

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.1;
}

.muted { color: var(--muted); }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, rgba(111, 177, 255, 0.25), rgba(124, 240, 210, 0.18));
  border-color: rgba(111, 177, 255, 0.4);
}

.hero-media {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hero-media__rotator {
  position: relative;
  width: 100%;
  height: 320px;
}

.hero-media__rotator img[data-hero-rotator] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 420ms ease;
}

.hero-media__rotator img[data-hero-rotator].is-hidden {
  opacity: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.2), rgba(11, 18, 32, 0.85));
}

.hero-media__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.68);
  backdrop-filter: blur(8px);
}

.hero-media__label img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}


.section {
  padding: 18px 0 36px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

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

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
}

.price small { color: var(--muted); font-weight: 650; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 980px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

/* Lightbox (progressive enhancement for gallery) */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(0, 0, 0, 0.78);
  padding: 16px;
}

.lightbox.is-open { display: grid; place-items: center; }

.lightbox__dialog {
  width: min(980px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.lightbox__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lightbox__btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.lightbox__counter { color: var(--muted); font-size: 0.95rem; }

.lightbox__stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 10px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lightbox__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.lightbox__thumb {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 2px;
  cursor: pointer;
  flex: 0 0 auto;
}

.lightbox__thumb[aria-current="true"] { border-color: rgba(255, 255, 255, 0.35); }

.lightbox__thumb img {
  display: block;
  width: 74px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
}

.form {
  margin-top: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field label {
  display: block;
  font-weight: 650;
  margin: 0 0 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.form-success {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(124, 240, 210, 0.12);
  color: var(--text);
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.small { font-size: 0.95rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.9);
  color: var(--text);
}

.skip-link:focus { left: 12px; }
