/* Multi-page dark components - Netlify premium tokens (Build: final3) */
/* Complements styles.css (Netlify base). No cream / light brochure rules. */

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.45);
}

.logo-brand-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 3px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.logo-brand-header .logo-image-header {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: none;
  background: transparent;
  object-fit: contain;
}

.logo-text-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1;
  white-space: nowrap;
}

.logo-word span {
  color: #fbbf24;
  font-weight: 700;
}

.footer-brand .logo-word {
  font-size: 1.25rem;
}

/* Text alignment: clean left hero, centered sections, no broken wraps */
.hero-panel,
.hero-inner,
.hero-slide {
  text-align: left;
}

.hero-title,
.hero-desc,
.hero-kicker {
  text-align: left;
  text-wrap: balance;
}

.hero-desc {
  text-wrap: pretty;
}

.section-header {
  text-align: center;
}

.section-header h2,
.section-header p,
.page-hero h1,
.page-hero p {
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.page-hero-inner {
  text-align: center;
}

.page-hero h1,
.page-hero p {
  text-align: center;
}

.service-card,
.process-step {
  text-align: left;
}

.service-features li::before {
  content: none !important;
  display: none !important;
}

.service-features {
  list-style: disc !important;
  padding-left: 1.15rem !important;
}

.service-features li {
  padding-left: 0 !important;
  position: static !important;
}

@media (max-width: 768px) {
  .logo-word {
    font-size: 1.02rem;
  }

  .hero-panel,
  .hero-inner,
  .hero-title,
  .hero-desc,
  .page-hero h1 {
    text-align: left;
  }

  .section-header {
    text-align: center;
  }

  .section-header h2,
  .section-header p {
    text-align: center;
  }

  .proof-item {
    text-align: left;
  }
}

/* Hero extras (homepage composition) */
.hero-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-with-photos {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slides {
  position: absolute;
  inset: 0;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg-photo.is-active {
  opacity: 1;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.1) 42%, rgba(15, 23, 42, 0.03) 70%, transparent 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, transparent 40%, rgba(15, 23, 42, 0.18) 100%);
}

.hero-inner,
.hero-panel {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 400px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-sizing: border-box;
  overflow: visible;
}

/* Fixed-height slide stack: no jump when text changes */
.hero-slides {
  display: grid;
  align-items: start;
  min-height: 7.1rem;
  height: 7.1rem;
  overflow: hidden;
}

.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 0;
  overflow: visible;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide .hero-title {
  min-height: 0;
  height: auto;
  margin: 0 0 4px;
  overflow: visible;
}

.hero-slide .hero-desc {
  min-height: 0;
  height: auto;
  margin: 0;
  overflow: visible;
}

.hero-cta {
  margin-top: 12px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 6px;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
  transition: width 0.25s ease, background 0.25s ease;
  outline: none;
}

.hero-dot:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.18);
}

.hero-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37, 99, 235, 0.45);
}

.hero-dot.is-active {
  background: #2563eb;
  width: 22px;
  border-radius: 999px;
  box-shadow: none;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  color: #0f172a;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569;
  max-width: 34rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header h2 {
  font-weight: 800;
}

.service-card h3,
.process-step h3 {
  font-weight: 700;
}

.service-card p,
.process-step p,
.section-header p {
  font-weight: 500;
}

/* Proof bar */
.proof-bar {
  padding: 28px 0;
  background: rgba(17, 24, 39, 0.85);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.proof-item {
  text-align: center;
}

.proof-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Page heroes */
.page-hero {
  padding: calc(var(--header-h) + 36px) 0 32px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(59, 130, 246, 0.12), transparent 58%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero-inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 750;
  margin: 0 0 10px;
  line-height: 1.2;
  text-align: center;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  max-width: 32rem;
  margin: 0 auto 18px;
  text-align: center;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-inner {
  padding: 0;
}

/* Galleries */
.stock-gallery-teaser,
.packing-gallery-teaser,
.stock-gallery,
.packing-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stock-shot,
.packing-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}

.stock-shot img,
.packing-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.packing-section {
  margin-bottom: 48px;
}

.packing-points,
.packing-points-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 28px;
}

.packing-point {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

.packing-note,
.bulk-terms-note,
.contact-location-note,
.export-global-note,
.market-footnote {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 28px;
}

/* Stock filters / grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font);
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--accent-light);
}

.stock-grid-loading {
  color: var(--text-secondary);
  padding: 24px 0;
}

#stockGrid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.product-card,
.stock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.product-card:hover,
.stock-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: var(--shadow-glow);
  transform: none;
}

/* WhatsApp group CTA */
.whatsapp-group-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.whatsapp-group-copy h3 {
  font-weight: 800;
  margin-bottom: 8px;
}

.whatsapp-group-copy p {
  color: var(--text-secondary);
  font-weight: 500;
}

.whatsapp-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.whatsapp-number {
  font-weight: 700;
  color: var(--accent-light);
}

/* Contact / trust */
.trust-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.trust-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

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

.payment-card,
.export-card,
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.payment-card-soon,
.coming-soon-badge {
  opacity: 0.7;
}

.market-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.market-item,
.market-item-wide {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 600;
}

.market-item-wide {
  grid-column: 1 / -1;
}

.form-status {
  margin-top: 12px;
  color: var(--text-secondary);
}

.hidden {
  display: none !important;
}

/* Home helpers */
.home-page-links,
.home-teaser-cta,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.home-teaser .home-page-links,
.home-teaser-cta {
  justify-content: center;
}

.home-final-cta .cta-banner,
.cta-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 45%, #eef2ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.home-final-copy h2 {
  font-weight: 800;
  margin-bottom: 10px;
}

.home-final-copy p {
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.process-steps-teaser {
  grid-template-columns: repeat(3, 1fr);
}

.parts-compact {
  margin-top: 40px;
}

.review-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.whatsapp-qr {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

/* Float / back to top */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 60;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 60;
}

@media (max-width: 900px) {
  .proof-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stock-gallery,
  .packing-gallery,
  .stock-gallery-teaser,
  .packing-gallery-teaser,
  .packing-points,
  .packing-points-row,
  .trust-highlights,
  .payment-grid,
  .process-steps-teaser {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .proof-bar-grid,
  .stock-gallery,
  .packing-gallery,
  .stock-gallery-teaser,
  .packing-gallery-teaser,
  .packing-points,
  .packing-points-row,
  .trust-highlights,
  .payment-grid,
  .process-steps-teaser,
  .market-list {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(1.15rem, 5.5vw, 1.35rem) !important;
    max-width: none;
  }

  .hero-cta .btn {
    width: auto;
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .whatsapp-group-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-slides { min-height: 0; height: auto; overflow: visible; }
  .hero-slide .hero-title { min-height: 0; height: auto; margin: 0 0 3px; overflow: visible; }
  .hero-slide .hero-desc { min-height: 0; height: auto; margin: 0; overflow: visible; }
}