:root {
  --bg: #0b1224;
  --panel: #111827;
  --panel-2: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #f59e0b;
  --accent-2: #38bdf8;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.12), transparent 28%),
    linear-gradient(160deg, var(--bg), #070c1a 55%);
  color: var(--text);
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  padding: 0 1.25rem 2rem;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(11, 18, 36, 0.85), rgba(11, 18, 36, 0.6));
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.98;
  text-transform: uppercase;
  font-size: 1.3rem;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

nav a.primary {
  color: #fff;
  font-weight: 700;
  position: relative;
}

nav a.primary::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.9;
  transition: transform 0.2s ease;
  transform: scaleX(0.9);
  transform-origin: center;
}

nav a.primary:hover::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem;
  align-items: center;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(11, 18, 36, 0.88), rgba(11, 18, 36, 0.78)), url('../img/store.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #e0f2fe;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #0b1224;
  background: linear-gradient(120deg, var(--accent) 0%, #f97316 100%);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.32);
  color: #0b1224;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--border);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.hero-card .logo {
  width: 160px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.mini-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

section {
  margin-top: 3.5rem;
  scroll-margin-top: 120px;
}

.splash-page section {
  scroll-margin-top: 88px;
}

.splash-page {
  scroll-padding-top: 88px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  font-size: 1.8rem;
  letter-spacing: -0.01em;
}

.section-heading span {
  color: var(--muted);
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 220px;
}

.card h3 {
  font-size: 1.3rem;
  color: #fff;
}

.store-logo {
  width: 168px;
  height: 40px;
  margin-bottom: 0.4rem;
  object-fit: contain;
  max-width: 100%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.link:hover {
  color: #7dd3fc;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.8rem;
  align-items: start;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 1.75rem;
}

.about p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.about .panel {
  background: rgba(11, 18, 36, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.5rem;
}

.about-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.photo-break {
  position: relative;
  margin: 3rem 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.photo-break img {
  width: calc(100% + 160px);
  max-height: 350px;
  display: block;
  filter: saturate(0.9) brightness(0.9);
  transform: translateX(-50px);
  object-fit: cover;
  object-position: center;
}

.photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.testimonials {
  display: grid;
  gap: 0.55rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  min-height: 140px;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/lego-order.jpg') center/cover no-repeat;
  opacity: 0.20;
  z-index: 0;
}

.quote {
  font-size: 1.02rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.author {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.store-chip img {
  height: 30px;
  width: auto;
  display: block;
}

.dots {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
  width: 100%;
  justify-content: space-between;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.1);
}

.controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.control-btn {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.nav-row .controls {
  margin-top: 0;
}

.nav-row .controls {
  margin-left: auto;
}

.footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.35rem;
}

.footer .primary-line {
  color: var(--text);
  font-weight: 700;
}

.footer .secondary-line {
  font-size: 0.9rem;
  color: #8ea0ba;
  font-weight: 500;
  font-style: italic;
}

.request-hero {
  background: linear-gradient(140deg, rgba(11, 18, 36, 0.92), rgba(11, 18, 36, 0.78)), url('../img/store.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.request-summary p {
  color: var(--muted);
  font-size: 1.05rem;
}

.request-meta {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
}

.request-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.meta-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.35rem;
}

.meta-label {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.meta-value {
  font-weight: 700;
  font-size: 1.05rem;
}

.inventory-card {
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.85));
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.6rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.4);
}

.inventory-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.inventory-header {
  display: grid;
  gap: 0.2rem;
}

.inventory-header h2 {
  font-size: 1.3rem;
}

.inventory-name {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.inventory-summary {
  display: grid;
  gap: 0.65rem;
}

.inventory-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent-2);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  color: #7dd3fc;
}

.details-collapsed {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}

.details-expanded {
  max-height: 600px;
}

.catalog-image {
  width: 110px;
  height: 75px;
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  object-fit: contain;
  display: block;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.25rem;
}

.detail-list {
  display: grid;
  gap: 0.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.detail-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-weight: 700;
  text-align: right;
}

.notice {
  margin-top: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  font-weight: 600;
}

.request-gallery .section-heading {
  align-items: flex-end;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.45rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.splash-page .lightbox {
  align-items: flex-start;
  padding-top: var(--lightbox-offset, 4rem);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: min(960px, 92vw);
  max-height: 84vh;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 780px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .request-hero {
    padding: 1.5rem;
  }

  .request-grid {
    grid-template-columns: 1fr;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-value {
    text-align: left;
  }

  .inventory-layout {
    grid-template-columns: 1fr;
  }

  .catalog-image {
    width: 100%;
    max-width: 220px;
    justify-self: start;
  }

  .lightbox {
    padding: 1.2rem;
  }

  .lightbox-prev {
    left: 0.7rem;
  }

  .lightbox-next {
    right: 0.7rem;
  }
}
