/* =================== ROOT / RESET =================== */

em { font-style: normal; color: var(--accent); font-weight: 600; }

/* Overrides on top of shared.css: this page uses a slightly different body
   rhythm and a Manrope type pairing instead of Archivo. (The brand/nav/mega
   Montserrat treatment used to be overridden here too — it's now shared.css's
   sitewide default, since this page is the reference every other page matches.) */
body { line-height: 1.65; font-weight: 400; }
.section-eyebrow { font-family: 'Manrope', sans-serif; }
.btn { position: relative; overflow: hidden; }

/* =================== TYPOGRAPHY =================== */

/* =================== BUTTONS =================== */

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--outline:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn__play {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

/* =================== TOPBAR =================== */

.topbar__social a:hover { background: var(--accent); color: #ffffff; }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 80px 0 0;
  overflow: hidden;
  background: var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(13, 92, 245, 0.10), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(30, 167, 255, 0.08), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 92, 245, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 92, 245, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__overlay {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13, 92, 245, 0.12), transparent 60%);
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 24px 100px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid rgba(13, 92, 245, 0.2);
  border-radius: 50px;
  font-family: 'Archivo', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero__title {
  /* font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 26px; */
  font-family: 'Manrope', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 26px;
}
.hero__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 26px;
}
.hero__title--accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.hero__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 580px;
  margin-bottom: 38px;
  line-height: 1.7;
  font-weight: 400;
}
.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero__stats {
  display: flex; align-items: center; gap: 16px;
}
.hero__people { display: flex; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--bg);
  margin-left: -12px;
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.avatar:nth-child(3) { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.avatar:nth-child(4) { background: #ffffff; color: var(--accent); border-color: var(--accent); }
.hero__people-text { display: flex; flex-direction: column; }
.hero__people-text strong { font-size: 1rem; font-weight: 700; font-family: 'Manrope', sans-serif; }
.hero__people-text span { font-size: 0.85rem; color: var(--text-dim); }

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.hero__card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--t);
  box-shadow: 0 20px 50px rgba(11, 30, 63, 0.06);
}
.hero__card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(11, 30, 63, 0.12); }
.hero__card::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(13, 92, 245, 0.10), transparent 70%);
}
.hero__card-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  letter-spacing: -0.04em;
}
.hero__card-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  position: relative;
  color: var(--text);
  letter-spacing: 0.01em;
}
.hero__card--alt {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.hero__card--alt .hero__card-num { color: #ffffff; }
.hero__card--alt .hero__card-label { color: #ffffff; }
.hero__card--alt::before { background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); }

.marquee__intro { padding: 24px 0; justify-content: center; }

/* Marquee */
.marquee {
  background: var(--accent);
  color: #ffffff;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee__track {
  display: flex; gap: 40px;
  width: max-content;
  align-items: center;
  white-space: nowrap;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  animation: marquee 30s linear infinite;
}
.marquee__track span { display: inline-block; }
.marquee__star {
  color: #ffffff;
  font-size: 1.3rem;
  opacity: 0.8;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== ABOUT =================== */
.about {
  padding: 120px 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__media { position: relative; }
.about__img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.about__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 30, 63, 0.4));
}
.about__badge {
  position: absolute;
  bottom: 30px; right: -30px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  width: 160px; height: 160px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(13, 92, 245, 0.4);
}
.about__badge-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}
.about__badge-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 4px;
}

.about__text .lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 26px 0 30px;
}
.about__points {
  display: flex; flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.about__points li {
  display: flex; gap: 16px;
  align-items: flex-start;
}
.about__points i {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}
.about__points strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
}
.about__points span { color: var(--text-dim); font-size: 0.92rem; }

/* =================== PRODUCTS =================== */
.products {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}
.products::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 92, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 92, 245, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.products .container { position: relative; }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  /* Cards size to their own content instead of stretching to the tallest sibling in the
     row — a short description shouldn't leave a card with a wall of empty space below its
     "View Details" link just because a neighboring card's description ran longer. */
  align-items: start;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all .4s var(--t);
  position: relative;
  box-shadow: 0 2px 8px rgba(11, 30, 63, 0.03);
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .4s var(--t);
  z-index: 2;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(13, 92, 245, 0.15);
}
.product-card:hover::before { width: 100%; }

.product-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card__img:has(.product-card__image) { background: #ffffff; }
.product-card__img::before {
  content: "";
  position: absolute;
  width: 200%; height: 200%;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(13, 92, 245, 0.12), transparent 50%);
}
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.product-card__body { padding: 24px; }
.product-card__tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.product-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  transition: color .25s var(--t);
}
.product-card:hover h3 { color: var(--accent); }
/* The description is `product.short_description` through safe_rich_text — plain CMS copy
   with no guaranteed wrapping tag, so target the .trix-content wrapper itself (covers both
   a bare text node and a wrapped <p>) rather than assuming a <p> exists. */
.product-card .trix-content {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 14px;
  /* Minimal, uniform description length — clamps to 2 lines instead of however long the
     CMS copy happens to be, so it doesn't drive card height. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.product-card__link:hover { color: var(--accent); gap: 14px; }

/* =================== STATS STRIP =================== */

/* =================== SOLUTIONS =================== */
.solutions {
  padding: 120px 0;
  background: var(--bg);
}
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.solution {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  display: block;
  box-shadow: 0 4px 14px rgba(11, 30, 63, 0.06);
}
.solution__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s var(--t);
}
.solution:hover .solution__img { transform: scale(1.1); }
.solution__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 30, 63, 0.92));
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  padding: 26px;
  transition: background .4s var(--t);
}
.solution:hover .solution__overlay { background: linear-gradient(180deg, rgba(13, 92, 245, 0.20) 0%, rgba(11, 30, 63, 0.94) 70%); }
.solution__overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #ffffff;
}
.solution__overlay span {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s var(--t);
}
.solution:hover .solution__overlay span { gap: 14px; }

/* Industry imagery via blue gradient variations */
.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); }

.solution__img::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 4rem;
  color: rgba(255,255,255,0.9);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  transition: transform .6s var(--t);
}
.solution:hover .solution__img::after { transform: translate(-50%, -60%) scale(1.15); }
.solution__img--pharma::after   { content: "\f484"; }
.solution__img--food::after     { content: "\f2e7"; }
.solution__img--nutra::after    { content: "\f0fa"; }
.solution__img--cosmetic::after { content: "\f5e8"; }
.solution__img--beverage::after { content: "\f57b"; }
.solution__img--bakery::after   { content: "\f5d1"; }
.solution__img--fruits::after   { content: "\f787"; }
.solution__img--chemical::after { content: "\f0c3"; }
.solution__img--dairy::after    { content: "\f72d"; }

/* =================== PROCESS =================== */
.process {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process__step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  position: relative;
  transition: all .35s var(--t);
  box-shadow: 0 2px 8px rgba(11, 30, 63, 0.03);
}
.process__step:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 92, 245, 0.12);
}
.process__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 14px;
  transition: opacity .3s var(--t);
}
.process__step:hover .process__num { opacity: 1; }
.process__step h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.process__step p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* =================== EVENTS & EXHIBITIONS =================== */
.events {
  padding: 120px 0;
  background: var(--bg);
}

/* Fixed 3-up on desktop (featured_events is capped at 3 server-side, same convention as
   .blog__grid/.products__grid) so all three cards fit a single row; steps down to 2, then 1
   (row-wise, stacked) per the breakpoints below, matching those same grids. */
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 28px;
}

.event-featured {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 30, 63, 0.07);
  transition: all .35s var(--t);
}
.event-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 30, 63, 0.10);
  border-color: var(--line-strong);
}

.event-featured__img {
  position: relative;
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(11, 30, 63, 0.15) 0%, rgba(11, 30, 63, 0.75) 100%),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.event-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  align-self: flex-start;
}

.event-live-badge .dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* Non-live statuses drop the red pulsing "live" dot — it's misleading once the event isn't
   actually happening right now (see featured_events' live/upcoming/past fallback). */
.event-live-badge--upcoming .dot,
.event-live-badge--past .dot {
  animation: none;
}
.event-live-badge--upcoming .dot { background: var(--accent-2); }
.event-live-badge--past {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.event-live-badge--past .dot { background: rgba(255, 255, 255, 0.5); }

.event-featured__img-overlay {
  color: #ffffff;
}

.event-featured__img-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.event-featured__img-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.event-featured__img-loc i { color: var(--accent-2); }

.event-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.event-featured__content {
  padding: 20px 22px 22px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.event-featured__title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin: 8px 0 14px;
  line-height: 1.25;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.event-meta__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.event-meta__item i {
  width: 30px;
  height: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  flex-shrink: 0;
}

/* The static reference used a bare <p> here; the dynamic view renders event.description
   (ActionText rich text) wrapped in <div class="trix-content"> instead — the sitewide
   convention, since Trix content is block-level and can't safely nest inside a <p> (the
   browser auto-closes the <p> before a nested block element, breaking this rule's cascade
   the same way it did for .page-hero__desc/.section-body elsewhere). Target that instead. */
.event-featured__content > .trix-content {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  /* Minimal, uniform description length — clamps to 2 lines instead of however long the
     CMS copy happens to be, so it doesn't drive card height. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-featured__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =================== BLOG =================== */
.blog {
  padding: 120px 0;
  background: var(--bg-2);
}

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

.blog-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: all .35s var(--t);
  box-shadow: 0 2px 10px rgba(11, 30, 63, 0.04);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 30, 63, 0.10);
  border-color: var(--line-strong);
}

.blog-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--t);
}
.blog-card:hover .blog-card__thumb { transform: scale(1.04); }

.blog-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__cat {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 50px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  width: fit-content;
}
.blog-card__cat--blue   { background: rgba(13, 92, 245, 0.10); color: var(--accent); }
.blog-card__cat--teal   { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.blog-card__cat--indigo { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }

.blog-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0;
  flex: 1;
  transition: color .25s var(--t);
}
.blog-card:hover .blog-card__body h3 { color: var(--accent); }

.blog-card__rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 18px 0 14px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-mute);
  font-weight: 400;
}

.blog-card__dot { color: var(--line-strong); font-size: 1rem; line-height: 1; }

.blog-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-card, #f1f5f9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-mute);
  font-size: 0.65rem;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__side { flex-direction: row; }
  .hero__card { padding: 28px; flex: 1 1 110px; }
  .hero__card-num { font-size: 3.4rem; }
  .hero__card-label { font-size: 0.95rem; }
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__badge { right: 10px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__num { font-size: 3.2rem; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat__num { font-size: 3.8rem; }
  .footer__grid { flex-wrap: wrap; gap: 40px; }
  .footer__brand { flex: 1 1 100%; }
  .footer__col { flex: 1 1 calc(50% - 20px); min-width: 200px; }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .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(--line);
    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(--line); border-radius: 0; }
  .mega { display: none; }
}

/* =================== CTA =================== */
.cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(13, 92, 245, 0.35), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(30, 167, 255, 0.20), transparent 50%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}
.cta__bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 22px;
  line-height: 1.05;
  color: #ffffff;
}

.cta__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* =================== FOOTER =================== */
.footer {
  background: var(--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: inherit; /* resets shared.css's Family-B line-height */
}
.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: #ffffff;
  transition: all .3s var(--t);
}
.footer__social a:hover { background: var(--accent); color: #ffffff; transform: translateY(-4px); }

.footer__col h5 {
  /* resets shared.css's Family-B .footer__col h5 (font-family/font-weight/
     text-transform), which this page's reference doesn't use */
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-bottom: 12px;
}

.footer__col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: all .25s var(--t);
  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: inherit; }
.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; /* resets shared.css's Family-B transition */
}
.footer__contact a i { color: var(--accent-2); width: 18px; flex-shrink: initial; }
.footer__contact a:hover { color: #ffffff; }

.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; /* resets shared.css's Family-B align-items */
  flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =================== BACK TO TOP =================== */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all .3s var(--t);
  z-index: 99;
  box-shadow: 0 10px 30px rgba(13, 92, 245, 0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

/* =================== REVEAL ANIMATIONS =================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .hero { padding: 64px 0 0; }
  .about { padding: 80px 0; }
  .products { padding: 80px 0; }
  .solutions { padding: 80px 0; }
  .process { padding: 80px 0; }
  .events { padding: 80px 0; }
  .blog { padding: 80px 0; }
  .cta { padding: 90px 0; }
  .products__grid { grid-template-columns: 1fr; }
  .solutions__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .events__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 0; }
  .about { padding: 56px 0; }
  .products { padding: 56px 0; }
  .solutions { padding: 56px 0; }
  .process { padding: 56px 0; }
  .events { padding: 56px 0; }
  .blog { padding: 56px 0; }
  .cta { padding: 60px 0; }
  .footer { padding-top: 44px; }
  .hero__inner { padding: 30px 24px 48px; }
  .products__grid { grid-template-columns: 1fr; }
  .solutions__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__num { font-size: 2.8rem; }
  .stats-strip { padding: 36px 0; }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat { padding-left: 12px; border-left-width: 3px; }
  .stat__num { font-size: 2.4rem; margin-bottom: 4px; }
  .stat__num::after { font-size: 1.6rem; }
  .stat__label { font-size: 0.75rem; line-height: 1.3; }
  .footer__grid { flex-direction: column; }
  .footer__brand, .footer__col { flex: 1 1 auto; width: 100%; min-width: 0; }
  .blog__grid { grid-template-columns: 1fr; }
  .hero__side { flex-direction: column; }
  .hero__card { padding: 24px; }
  .hero__card-num { font-size: 2.6rem; }
  .hero__card-label { font-size: 0.88rem; }
  .about__badge { width: 130px; height: 130px; right: 10px; }
  .about__badge-num { font-size: 2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .marquee__track { font-size: 1.2rem; animation-duration: 30s; }
  .event-featured__img { min-height: 160px; }
  .hero__stats { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .hero__actions,
  .cta__actions,
  .event-featured__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn,
  .cta__actions .btn,
  .event-featured__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__card-num { font-size: 2.2rem; }
  .hero__card-label { font-size: 0.8rem; }
  .about__badge { width: 110px; height: 110px; right: 6px; }
  .about__badge-num { font-size: 1.7rem; }
  .about__badge-text { font-size: 0.72rem; }
  .stats-strip__grid { gap: 6px; }
  .stat { padding-left: 8px; }
  .stat__num { font-size: 2rem; }
  .stat__num::after { font-size: 1.3rem; }
  .stat__label { font-size: 0.68rem; }
}
