/* ── Design Tokens ── */
/* Mirrors event_detail.css/product_detail.css's sticky-sidebar detail-page family — this page
   follows that same structure (product-hero + page-body/sidebar + content-main + cta-section)
   rather than the plain about.css-style page-hero used in the first draft, per the request to
   match the site's established single-item detail page pattern. */
:root {
  --blue:        #0d5cf5;
  --blue-dark:   #0b1e3f;
  --blue-mid:    #1a3a6e;
  --blue-light:  #e8f0fe;
  --accent:      #1ea7ff;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Archivo', sans-serif;
  --font-body:    'Inter', sans-serif;
  --sidebar-w:    260px;
  --sticky-top:   90px;
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: none; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-light); }

/* =================== HERO =================== */
.product-hero {
  position: relative;
  background: var(--blue-dark);
  padding: 80px 0 90px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.product-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(13,92,245,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,167,255,.12) 0%, transparent 60%);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.product-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.product-hero__inner { position: relative; z-index: 2; width: 100%; }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.breadcrumb i { font-size: 0.55rem; color: rgba(255,255,255,.3); }

.product-hero__content { display: flex; align-items: center; gap: 56px; justify-content: space-between; }
.product-hero__left { flex: 1; min-width: 0; }
.product-hero__eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.product-hero__title { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.8rem); line-height: 1.0; letter-spacing: 2px; color: var(--white); margin-bottom: 16px; }
.product-hero__desc { font-size: 0.95rem; color: rgba(255,255,255,.7); max-width: 540px; line-height: 1.7; }

/* Icon badge — same gradient keys as home.css's Solutions grid `.solution__img--*`, duplicated
   here since home.css isn't loaded on this page and these are page-local color swatches. */
.industry-hero__badge { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 8px 24px rgba(13,92,245,.35); flex-shrink: 0; }
.solution__img--pharma   { background: linear-gradient(135deg, #0d5cf5, #0942b8); }
.solution__img--food     { background: linear-gradient(135deg, #1ea7ff, #0d5cf5); }
.solution__img--nutra    { background: linear-gradient(135deg, #2563eb, #1e40af); }
.solution__img--cosmetic { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.solution__img--beverage { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.solution__img--bakery   { background: linear-gradient(135deg, #6366f1, #3730a3); }
.solution__img--fruits   { background: linear-gradient(135deg, #0ea5e9, #075985); }
.solution__img--chemical { background: linear-gradient(135deg, #4f46e5, #312e81); }
.solution__img--dairy    { background: linear-gradient(135deg, #60a5fa, #1e3a8a); }

/* =================== CONTENT ================== */
.content-main { min-width: 0; display: flex; flex-direction: column; gap: 0; }
.content-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-sm); }
.industry-content__body {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
}
.industry-content__empty {
  font-size: 1rem;
  color: var(--gray-500);
  font-style: italic;
}

/* =================== SCROLL REVEAL =================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }

/* Matches home.css's footer (the site's reference design) — overrides shared.css's "Family B"
   footer block. Literal colors instead of var(--accent): this page redefines --accent to a
   lighter highlight (#1ea7ff) for its own unrelated content, not the true brand blue home.css's
   footer uses for its underline/hover accents. Placed before the responsive block below so its
   mobile @media overrides (padding-top/grid-template-columns) win the cascade. */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 90px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__grid { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 50px; padding-bottom: 70px; }
.footer__brand { flex: 0 1 240px; min-width: 200px; }
.footer__col { flex: 1 1 0; min-width: 140px; }
.footer__brand p { color: rgba(255,255,255,0.65); margin: 22px 0; font-size: 0.95rem; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--white); transition: all .3s var(--transition);
}
.footer__social a:hover { background: var(--blue); color: var(--white); transform: translateY(-4px); }
.footer__col h5 {
  font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: none;
  font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 20px;
  color: var(--white); position: relative; padding-bottom: 12px;
}
.footer__col h5::after { background: var(--blue); }
.footer__col ul li a {
  color: rgba(255,255,255,0.65); font-size: 0.92rem;
  transition: all .25s var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.footer__contact p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.7; }
.footer__contact a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 10px;
  transition: none;
}
.footer__contact a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: normal;
  flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .page-body__inner { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-height: none; overflow-y: visible; }
  .footer__grid { flex-wrap: wrap; gap: 40px; }
  .footer__brand { flex: 1 1 100%; }
  .footer__col { flex: 1 1 calc(50% - 20px); min-width: 200px; }
  .nav, .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #ffffff; border-top: 1px solid var(--gray-200);
    padding: 20px; box-shadow: 0 10px 30px rgba(11, 30, 63, 0.08);
  }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { display: flex; width: 100%; justify-content: space-between; padding: 14px; border-bottom: 1px solid var(--gray-200); border-radius: 0; }
  .mega { display: none; }
}
@media (max-width: 768px) {
  .product-hero__content { flex-direction: column; align-items: flex-start; gap: 24px; }
  .content-section { padding: 32px 28px; }
  .sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .content-section { padding: 24px 20px; }
  .footer { padding-top: 44px; }
  .footer__grid { flex-direction: column; }
  .footer__brand, .footer__col { flex: 1 1 auto; width: 100%; min-width: 0; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .cta-section__stats { gap: 24px; }
}
@media (max-width: 480px) {
  .product-hero__title { font-size: 2rem; }
  .content-section { padding: 20px 16px; }
  .industry-hero__badge { width: 52px; height: 52px; }
}

/* -----------------------------------------------------------------
   Local overrides for selectors shared.css intentionally omits (see the same block at the
   end of blog_author.css/blog_detail.css/event_detail.css/product_detail.css): these names
   are also used by the "Family A" listing pages with different values at equal specificity.
   (.container used to be duplicated here too, identically to shared.css's version — harmless
   on its own, but because .topbar__inner/.header__inner also carry the "container" class,
   this file's later-loaded .container rule was winning the padding shorthand over shared.css's
   topbar/header padding, collapsing the topbar and header to 0 vertical padding on this page.
   Removed; shared.css's .container is identical in value, so nothing here actually needed it.)
   ----------------------------------------------------------------- */
.section-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -0.02em; }
.btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--primary:hover { background: #0b4fd9; border-color: #0b4fd9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,92,245,.35); }
.breadcrumb a:hover { color: var(--accent); }

.back-to-top { border: none; cursor: pointer; font-size: .9rem; visibility: hidden; }

a { transition: none; }
body { overflow-x: hidden; }
