/* === TOKENS === */
:root {
  --navy-deep:   #0d1f35;
  --navy:        #132641;
  --navy-light:  #1a3357;
  --navy-card:   #1e3d6b;
  --gold:        #c9a22a;
  --gold-light:  #e4bc55;
  --gold-dim:    #9a7820;
  --white:       #ffffff;
  --off-white:   #e8edf4;
  --muted:       #8fa5c0;
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.2s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.6;
}

/* === NAVBAR === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 31, 53, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 42, 0.25);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img { height: 52px; width: auto; }
@media (max-width: 600px) { .logo-img { height: 38px; } }
.nav-contact { display: flex; align-items: center; gap: 20px; }
.nav-contact-link {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-contact-link:hover { color: var(--white); }
@media (max-width: 600px) {
  .nav-contact { gap: 10px; }
  .nav-contact-link { font-size: 11px; }
}

/* === LANGUAGE TOGGLE === */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(201, 162, 42, 0.08);
  border: 1px solid rgba(201, 162, 42, 0.35);
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-toggle:hover {
  background: rgba(201, 162, 42, 0.18);
  border-color: rgba(201, 162, 42, 0.6);
}
.lang-opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.lang-opt.active { color: var(--gold-light); }
.lang-sep { font-size: 10px; color: var(--muted); opacity: 0.5; }
@media (max-width: 600px) {
  .lang-toggle { padding: 3px 8px; }
  .lang-opt { font-size: 10px; }
}

/* === FILTER SECTION === */
.filter-section {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(13, 31, 53, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 42, 0.18);
}
.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.filter-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filter-pills::-webkit-scrollbar { display: none; }
.nav-pill {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-pill.active {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  font-weight: 700;
}
.nav-pill:hover:not(.active) {
  background: rgba(201, 162, 42, 0.15);
  color: var(--gold);
  border-color: rgba(201, 162, 42, 0.4);
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #0d1f35 0%, #132641 60%, #1a3357 100%);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,162,42,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex: 1;
}
.hero-content { flex: 1; padding-bottom: 64px; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 8px;
  text-shadow: 0 0 40px rgba(201,162,42,0.3);
  margin-bottom: 20px;
}
.hero-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 32px;
}
.hero-bullets li {
  font-size: 15px; font-weight: 600; font-style: italic;
  color: var(--off-white);
  padding-left: 16px;
  position: relative;
}
.hero-bullets li::before { content: '•'; position: absolute; left: 0; color: var(--gold); }
.hero-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-pill {
  padding: 10px 20px;
  background: rgba(201,162,42,0.12);
  border: 1px solid rgba(201,162,42,0.4);
  border-radius: 30px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.contact-pill:hover {
  background: rgba(201,162,42,0.22);
  color: var(--white);
}
.hero-person {
  flex-shrink: 0;
  width: clamp(260px, 35vw, 460px);
  height: auto;
  display: block;
  align-self: flex-end;
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; align-items: center; padding-bottom: 0; }
  .hero-content { text-align: center; padding-bottom: 0; }
  .hero-bullets { align-items: center; }
  .hero-contact { justify-content: center; }
  .hero-person { width: min(300px, 70vw); }
}

/* === ABOUT === */
.about-section {
  background: var(--navy);
  padding: 64px 24px;
}
.container { max-width: 1200px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.about-sub { color: var(--gold); font-style: italic; font-size: 13px; margin-bottom: 16px; }
.about-text p { color: var(--muted); font-size: 14px; }
.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-card {
  background: var(--navy-card);
  border: 1px solid rgba(201,162,42,0.2);
  border-radius: var(--radius);
  padding: 16px;
}
.about-card strong { color: var(--gold); font-size: 13px; display: block; margin-bottom: 4px; }
.about-card p { color: var(--muted); font-size: 12px; }

/* === CATALOG === */
.catalog-section { padding: 64px 24px; }
.section-title {
  font-size: 28px; font-weight: 800; color: var(--white);
  text-align: center; margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
  border-radius: 2px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* === PRODUCT CARD === */
.product-card {
  background: var(--navy-card);
  border: 1px solid rgba(201,162,42,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,162,42,0.35);
}
.card-images {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.card-images img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 10px; font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.card-title-row { display: flex; align-items: baseline; gap: 8px; }
.card-title {
  font-size: 18px; font-weight: 800; color: var(--white);
}
.card-subtitle { font-size: 11px; color: var(--muted); font-style: italic; }
.card-desc { font-size: 13px; color: var(--muted); flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px;
  border: 1px solid rgba(201,162,42,0.4);
  border-radius: 20px;
  font-size: 10px; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.card-moq {
  font-size: 11px; color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
  display: flex; gap: 16px;
}
.card-moq span { color: var(--off-white); font-weight: 600; }
.card-cta {
  padding: 10px 0 0;
  color: var(--gold); font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.card-cta::after { content: '→'; transition: transform var(--transition); }
.product-card:hover .card-cta::after { transform: translateX(4px); }

/* === LOADING === */
.loading-state {
  grid-column: 1/-1;
  text-align: center; padding: 80px 0; color: var(--muted);
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(201,162,42,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === MODAL === */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,12,22,0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--navy);
  border: 1px solid rgba(201,162,42,0.3);
  border-radius: var(--radius-lg);
  max-width: 820px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: sticky; top: 0;
  float: right;
  margin: 16px 16px 0 0;
  background: rgba(255,255,255,0.08);
  border: none; color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(201,162,42,0.3); }
.modal-inner { padding: 28px; }

/* Modal content */
.modal-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .modal-header { grid-template-columns: 1fr; } }
.modal-gallery {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { display: flex; flex-direction: column; gap: 14px; }
.modal-title { font-size: 24px; font-weight: 900; color: var(--white); }
.modal-subtitle { color: var(--gold); font-size: 13px; font-style: italic; }
.modal-desc { color: var(--muted); font-size: 14px; }
.modal-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.modal-features li {
  font-size: 13px; color: var(--off-white);
  padding-left: 18px; position: relative;
}
.modal-features li::before { content: '•'; position: absolute; left: 0; color: var(--gold); }
.modal-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.modal-body { display: flex; flex-direction: column; gap: 24px; }

.modal-section-title {
  font-size: 12px; font-weight: 800; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.spec-cell {
  background: rgba(255,255,255,0.04);
  border-radius: 8px; padding: 10px 14px;
}
.spec-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.spec-val { font-size: 13px; color: var(--off-white); font-weight: 600; margin-top: 2px; }

.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.step-item { display: flex; gap: 10px; align-items: flex-start; }
.step-num {
  width: 24px; height: 24px; flex-shrink: 0;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 50%;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-text { font-size: 13px; color: var(--muted); padding-top: 2px; }

.addons-row { display: flex; flex-wrap: wrap; gap: 8px; }
.addon-tag {
  padding: 5px 12px;
  background: rgba(201,162,42,0.1);
  border: 1px solid rgba(201,162,42,0.3);
  border-radius: 20px;
  font-size: 12px; color: var(--gold-light);
}

/* === CONTACT === */
.contact-section {
  background: var(--navy);
  padding: 80px 24px;
  text-align: center;
}
.contact-section h2 { font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.contact-section p { color: var(--muted); margin-bottom: 32px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.btn-gold {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--navy-deep);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: opacity var(--transition);
}
.btn-gold:hover { opacity: 0.88; }
.btn-outline {
  padding: 14px 28px;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: rgba(201,162,42,0.15); }

/* === FOOTER === */
.site-footer {
  background: var(--navy-deep);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid rgba(201,162,42,0.1);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .filter-label { display: none; }
  .filter-inner { padding: 8px 16px; }
  .specs-grid, .steps-grid { grid-template-columns: 1fr; }
  .modal-inner { padding: 18px; }
}
