/* ═══════════════════════════════════════════════════════════════
   Tracera — Main Stylesheet
   Graphite theme · Signal red accent · Inter font
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #f4f1ed;
  --surface:    #ffffff;
  --surface-alt:#fbf7f4;
  --accent:     #c63c3c;
  --accent-dk:  #9f272e;
  --accent-lt:  #f6e4e1;
  --text:       #1f1d1b;
  --text-muted: #6c6660;
  --border:     #dfd7d1;
  --shadow-sm:  0 2px 10px rgba(31,29,27,.06);
  --shadow-md:  0 10px 30px rgba(31,29,27,.10);
  --shadow-lg:  0 22px 56px rgba(31,29,27,.16);
  --radius:     12px;
  --radius-sm:  8px;
  --nav-h:      64px;
  --transition: .2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Typography ────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { line-height: 1.75; }

/* ── Container ─────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-lt);
  color: var(--accent-dk);
}
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ── Flash messages ────────────────────────────────────────────── */
.flash-container { padding: 0 24px; margin-top: 8px; }
.flash {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: .9rem;
}
.flash-danger  { background: #ffe0e0; color: #9b1c1c; border: 1px solid #f5c6c6; }
.flash-warning { background: #fff3cd; color: #856404; border: 1px solid #ffd666; }
.flash-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.flash-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-beta     { background: #fff3cd; color: #854d0e; }
.badge-verified { background: #d1fae5; color: #065f46; }
.badge-pending  { background: #fee2e2; color: #991b1b; }
.badge-handled  { background: #e2e8f0; color: #475569; }
.badge-ny {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  vertical-align: middle;
  line-height: 1.3;
  box-shadow: 0 1px 6px rgba(220,38,38,.45);
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-word {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-word::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e17a6e);
  box-shadow: 0 0 0 6px rgba(198,60,60,.12);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-link:hover {
  background: var(--bg);
  color: var(--accent);
  text-decoration: none;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-form { display: inline; }
.lang-btn {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ════════════════════════════════════════════════════════════════
   MAIN CAROUSEL
════════════════════════════════════════════════════════════════ */
.main-carousel-wrap {
  position: relative;
  background: #24211f;
  user-select: none;
}

.main-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.main-carousel::-webkit-scrollbar { display: none; }

/* ── Carousel arrows ───────────────────────────────────────────── */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.carousel-arrow-left  { left: 16px; }
.carousel-arrow-right { right: 16px; }

/* ── Dot indicators ────────────────────────────────────────────── */
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.cdot.active {
  background: #fff;
  border-color: #fff;
  width: 28px;
  border-radius: 4px;
}

/* ── SLIDE: Intro ──────────────────────────────────────────────── */
.carousel-slide {
  min-width: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.slide-intro {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #23201d 0%, #2d2825 52%, #181513 100%);
}
.slide-intro-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 38%, rgba(198,60,60,.2) 0%, transparent 38%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.08) 0%, transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(198,60,60,.08) 0%, transparent 34%);
  pointer-events: none;
}
.slide-intro::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.slide-intro-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 80px 100px;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding: 6px 18px;
  border: 1px solid rgba(198,60,60,.35);
  border-radius: 99px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
}
.hero-title {
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-sub {
  color: rgba(255,255,255,.74);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.6);
  text-decoration: none;
}
.slide-intro-hint {
  color: rgba(255,255,255,.42);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  animation: pulse-hint 2.5s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { opacity: .35; }
  50%       { opacity: .7; }
}

/* ── SLIDE: Product ────────────────────────────────────────────── */
.slide-product {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #24211f 0%, #191614 100%);
}
.slide-product-image {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background:
    radial-gradient(circle at 18% 24%, rgba(198,60,60,.18), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.slide-product-image::before {
  content: '';
  position: absolute;
  inset: 48px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.slide-product-image::after {
  content: '';
  position: absolute;
  inset: 64px;
  border-radius: 20px;
  border: 1px dashed rgba(255,255,255,.08);
  pointer-events: none;
}
.slide-product-image img {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(72vh, 520px);
  object-fit: contain;
  border-radius: 18px;
  opacity: .96;
  box-shadow: 0 28px 50px rgba(0,0,0,.28);
  transition: transform .6s ease;
}
.slide-product:hover .slide-product-image img { transform: scale(1.03); }

.slide-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff3cd;
  color: #854d0e;
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.slide-badge-ny {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(198,60,60,.35);
  border-radius: 4px;
}

.slide-product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 80px;
  color: #fff;
}
.slide-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.slide-icon { font-size: 2rem; }
.slide-num  { font-size: .8rem; color: rgba(255,255,255,.45); font-weight: 600; letter-spacing: .08em; }
.slide-product-name { font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 800; margin-bottom: 12px; }
.slide-product-tagline { color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.65; margin-bottom: 28px; }

.slide-product-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 700;
}
.price-pill small { font-weight: 400; opacity: .7; }
.price-pill-buy     { background: rgba(198,60,60,.16);  color: #f2b5ad; border: 1px solid rgba(198,60,60,.28); }
.price-pill-rent    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.15); }
.price-pill-project { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);  border: 1px solid rgba(255,255,255,.12); }

.slide-product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--surface);
  padding: 80px 24px;
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p  { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

/* ════════════════════════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════════════════════════ */
.contact-section {
  background:
    radial-gradient(circle at top left, rgba(198,60,60,.24), transparent 34%),
    linear-gradient(135deg, #23201d, #191614);
  padding: 80px 24px;
  text-align: center;
}
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-inner h2 { color: #fff; margin-bottom: 20px; }
.contact-inner p  { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, #1d1a18 0%, #151311 100%);
  color: rgba(255,255,255,.7);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand .brand-word { color: #fff; font-size: 1.25rem; }
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); width: 100%; text-align: center; }

/* ════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
════════════════════════════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent); text-decoration: none; }

.product-hero {
  background:
    radial-gradient(circle at 90% 15%, rgba(198,60,60,.18), transparent 28%),
    linear-gradient(135deg, #23201d, #191614);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.product-hero-img-wrap {
  overflow: hidden;
}
.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.product-hero-text {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.product-hero-text h1 { color: #fff; margin-bottom: 16px; }
.product-icon { font-size: 2.5rem; margin-bottom: 16px; }
.product-tagline { color: rgba(255,255,255,.76); font-size: 1.15rem; margin-bottom: 32px; }
.badge-beta { background: rgba(255,243,205,.9); color: #854d0e; margin-bottom: 16px; }

.product-description {
  padding: 60px 0;
  background: var(--surface);
}
.description-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.product-features {
  padding: 60px 0;
  background: var(--bg);
}
.product-features h2 { margin-bottom: 32px; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: .95rem;
  font-weight: 500;
}
.feature-check {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.product-gallery {
  padding: 60px 0;
  background: var(--surface);
}
.product-gallery h2 { margin-bottom: 32px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f0f0f0;
  cursor: zoom-in;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(14, 12, 11, .86);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.lightbox-frame {
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(39,34,31,.96), rgba(19,17,15,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  overflow: hidden;
}
.lightbox-image {
  max-width: 100%;
  max-height: calc(78vh - 120px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(198,60,60,.92);
  border-color: rgba(198,60,60,.92);
  transform: translateY(-1px);
}
.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 1.45rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.03); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  text-align: center;
}

.product-pricing {
  padding: 60px 0;
  background: var(--bg);
}
.product-pricing h2 { margin-bottom: 32px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-type {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
}
.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
}
.pricing-amount strong { color: var(--accent); }
.pricing-unit { font-size: .9rem; font-weight: 400; color: var(--text-muted); }
.pricing-note { color: var(--text-muted); font-size: .9rem; flex: 1; }

.product-cta {
  background:
    radial-gradient(circle at top right, rgba(198,60,60,.2), transparent 26%),
    linear-gradient(135deg, #23201d, #191614);
  padding: 80px 0;
  text-align: center;
}
.product-cta h2 { color: #fff; margin-bottom: 16px; }
.product-cta p  { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════════
   INQUIRY FORM
════════════════════════════════════════════════════════════════ */
.inquiry-section {
  padding: 60px 0 80px;
  min-height: calc(100vh - var(--nav-h));
}
.inquiry-section h1 { margin-bottom: 16px; }
.inquiry-intro {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.form-group label {
  font-weight: 600;
  font-size: .9rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,60,60,.12);
}
.form-control.is-invalid { border-color: #dc3545; }
.invalid-feedback { color: #dc3545; font-size: .85rem; }
.form-hint { color: var(--text-muted); font-size: .82rem; }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ════════════════════════════════════════════════════════════════
   STATUS PAGES (sent / verified / expired)
════════════════════════════════════════════════════════════════ */
.status-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.status-icon { font-size: 3.5rem; }
.status-card h1 { font-size: 1.75rem; }
.status-card p { color: var(--text-muted); font-size: 1rem; }

/* ════════════════════════════════════════════════════════════════
   ADMIN PANEL
════════════════════════════════════════════════════════════════ */
.admin-body { background: #ede7e1; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 1.4rem;
  font-weight: 800;
}
.admin-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--accent);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.admin-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background:
    radial-gradient(circle at top left, rgba(198,60,60,.22), transparent 32%),
    linear-gradient(180deg, #201d1b 0%, #171412 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  flex-wrap: wrap;
}
.admin-sidebar-brand .brand-word { color: #fff; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav-link {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
.admin-logout { margin-top: auto; }

.admin-main {
  padding: 32px;
  overflow-y: auto;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.admin-header h1 { font-size: 1.6rem; }
.admin-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
  background: var(--surface);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.admin-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.admin-table th {
  background: var(--surface-alt);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee7e1;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface-alt); }

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: .9rem;
  color: var(--text-muted);
}

/* Detail page */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.detail-field { display: flex; flex-direction: column; gap: 4px; }
.detail-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.detail-value { font-weight: 500; }
.detail-message {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.detail-message-body {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--text);
}
.detail-actions { display: flex; gap: 12px; }

/* ════════════════════════════════════════════════════════════════
   SPORTIDENT COMPATIBILITY BANNER
════════════════════════════════════════════════════════════════ */
.si-compat-banner {
  background:
    radial-gradient(circle at top left, rgba(198,60,60,.16), transparent 30%),
    linear-gradient(135deg, #262220, #191614);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 28px 0;
  color: #fff;
}
.si-compat-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.si-compat-icon { font-size: 1.5rem; flex-shrink: 0; }
.si-compat-inner strong { color: #f6c2ba; }
.si-compat-inner span  { color: rgba(255,255,255,.65); }
.si-compat-systems {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.si-system-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 600;
}
.si-system-legacy {
  background: rgba(139,92,246,.2);
  border: 1px solid rgba(139,92,246,.4);
  color: #c4b5fd;
}
.si-system-new {
  background: rgba(198,60,60,.2);
  border: 1px solid rgba(198,60,60,.35);
  color: #f6c2ba;
}
.si-system-divider {
  font-size: 1.2rem;
  color: rgba(255,255,255,.3);
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════
   SUB-PRODUCTS (Orienteering Systems detail page)
════════════════════════════════════════════════════════════════ */
.sub-products-section {
  padding: 60px 0 80px;
  background: var(--bg);
}
.sub-gen-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.sub-gen-legacy { background: #ede9fe; color: #6d28d9; }
.sub-gen-new    { background: #fee2e2; color: #b91c1c; }
.sub-tagline { color: var(--text-muted); margin-top: 4px; font-size: 1.05rem; }

/* Image strip for sub-products */
.sub-product-images {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 32px 20px;
  scrollbar-width: thin;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.sub-product-images::-webkit-scrollbar { height: 4px; }
.sub-product-images::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sub-img-thumb {
  flex-shrink: 0;
  width: 160px;
  cursor: zoom-in;
}
.sub-img-thumb img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.sub-img-caption {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  font-weight: 500;
}

.sub-description {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.sub-product-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sub-product-cols h4 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sub-product-divider {
  text-align: center;
  font-size: 1.5rem;
  color: var(--border);
  padding: 24px 0 8px;
}

/* Mark new-gen sub-product with a subtle accent */
.sub-product-new .sub-product-header {
  background: linear-gradient(to right, #fbefed, #fff);
  border-left: 4px solid var(--accent);
}
.sub-product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.sub-product-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}
.sub-product-header-label { margin-bottom: 8px; }
.sub-product-header h3 { font-size: 1.4rem; margin: 0 0 4px; }
.sub-product-body { padding: 28px 32px; }

.specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.specs-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.options-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin-bottom: 12px;
}
.options-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface-alt);
  border-bottom: 2px solid var(--border);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}
.options-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee7e1;
  vertical-align: middle;
}
.options-table tr:last-child td { border-bottom: none; }
.option-price { font-weight: 700; white-space: nowrap; }
.option-note  { color: var(--text-muted); font-size: .82rem; }

.custom-cta-box {
  background: var(--accent-lt);
  border: 1px solid rgba(198,60,60,.2);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.custom-cta-box h3 { margin-bottom: 12px; }
.custom-cta-box p  { color: var(--text-muted); margin-bottom: 20px; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Carousel product slides: stack on tablet */
  .slide-product { grid-template-columns: 1fr; min-height: auto; }
  .slide-product-image { height: 54vw; max-height: 420px; padding: 28px; }
  .slide-product-image::before { inset: 28px; }
  .slide-product-image::after { inset: 42px; }
  .slide-product-content { padding: 34px 32px 64px; }
  .slide-intro { min-height: auto; }
  .slide-intro-content { padding: 52px 32px 88px; }

  .product-hero { grid-template-columns: 1fr; }
  .product-hero-img-wrap { height: 280px; }
  .product-hero-text { padding: 40px 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { flex-direction: row; justify-content: center; }

  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .admin-nav { flex-direction: row; flex: unset; }
  .admin-logout { margin-top: 0; }

  .carousel-arrow { display: none; }
}

@media (max-width: 760px) {
  .sub-product-cols { grid-template-columns: 1fr; gap: 32px; }
  .si-compat-systems { flex-direction: column; gap: 10px; }
  .si-system-divider { display: none; }
}

@media (max-width: 680px) {
  .navbar-inner { padding: 0 18px; gap: 16px; }
  .navbar-brand { font-size: 1.35rem; }
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px 18px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-link { width: 100%; padding: 10px 12px; }
  .hamburger { display: flex; }

  .slide-intro-content { padding: 40px 22px 84px; }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .slide-intro-hint { font-size: .76rem; }
  .carousel-dots { bottom: 14px; gap: 6px; }
  .slide-product-image { height: 72vw; min-height: 250px; padding: 18px; }
  .slide-product-image::before { inset: 18px; border-radius: 22px; }
  .slide-product-image::after { inset: 28px; border-radius: 16px; }
  .slide-product-content { padding: 28px 22px 60px; }
  .slide-product-name { font-size: clamp(1.5rem, 8vw, 2rem); }
  .slide-product-tagline { font-size: 1rem; }
  .slide-product-actions .btn { width: 100%; }
  .about-section,
  .contact-section,
  .product-description,
  .product-features,
  .product-gallery,
  .product-pricing,
  .product-cta,
  .inquiry-section,
  .sub-products-section { padding-top: 48px; padding-bottom: 56px; }
  .about-stats { flex-direction: column; gap: 18px; text-align: left; }
  .stat { flex-direction: row; align-items: baseline; gap: 10px; }
  .stat-num { font-size: 2.2rem; }
  .product-hero-img-wrap { height: 240px; }
  .product-hero-text { padding: 32px 22px 40px; }
  .product-tagline { font-size: 1.02rem; margin-bottom: 24px; }
  .pricing-card,
  .status-card,
  .admin-login-card,
  .detail-grid,
  .detail-message,
  .sub-product-body,
  .sub-product-header { padding-left: 20px; padding-right: 20px; }
  .sub-product-images { padding: 0 20px 16px; }
  .gallery-grid,
  .pricing-grid,
  .feature-list,
  .specs-list { grid-template-columns: 1fr; }
  .footer { padding: 32px 18px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }

  .status-card { padding: 32px 24px; }

  .admin-wrap { grid-template-columns: 1fr; }
  .admin-main { padding: 24px 18px; }
  .admin-sidebar { padding: 18px; }
  .admin-nav { width: 100%; overflow-x: auto; }

  .lightbox { padding: 14px; }
  .lightbox-frame {
    min-height: 70vh;
    padding: 60px 18px 72px;
    border-radius: 18px;
  }
  .lightbox-image { max-height: calc(70vh - 110px); }
  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
  .lightbox-nav {
    bottom: 14px;
    top: auto;
    transform: none;
    width: 44px;
    height: 44px;
  }
  .lightbox-nav:hover { transform: scale(1.03); }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}
