/* ============================================================
   AL RAYEES SDN BHD — Home Page Styles
   ============================================================ */

/* ─── HERO ──────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
}

/* Stars background */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* HUD overlays */
.hud-element {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(232,163,23,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.hud-coords {
  bottom: var(--space-8);
  left: var(--space-8);
}
.hud-coords span { display: block; }
.hud-status {
  top: calc(var(--nav-height) + var(--space-6));
  right: var(--space-8);
  text-align: right;
}
.hud-status span { display: block; margin-bottom: 4px; }
.hud-blink {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: blink 1.2s step-end infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hud-scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232,163,23,0.3) 50%,
    transparent 100%
  );
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes scanline {
  from { top: -2px; }
  to { top: 100%; }
}

/* Corner decorations */
.hud-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-color: rgba(232,163,23,0.4);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.hud-corner-tl { top: calc(var(--nav-height) + 16px); left: 24px; border-width: 2px 0 0 2px; }
.hud-corner-tr { top: calc(var(--nav-height) + 16px); right: 24px; border-width: 2px 2px 0 0; }
.hud-corner-bl { bottom: 24px; left: 24px; border-width: 0 0 2px 2px; }
.hud-corner-br { bottom: 24px; right: 24px; border-width: 0 2px 2px 0; }

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: var(--nav-height);
}
.hero-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-16);
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  padding-block: var(--space-16);
}
.hero-text { color: var(--white); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: rgba(232,163,23,0.12);
  border: 1px solid rgba(232,163,23,0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--gold-300);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: blink 1.5s ease-in-out infinite;
}
.hero-title {
  color: var(--white);
  margin-bottom: var(--space-6);
  line-height: 1.1;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
}
.hero-title .accent { color: var(--gold-400); display: block; }
.hero-subtitle {
  font-size: clamp(var(--text-sm), 1.1vw, var(--text-base));
  color: rgba(255,255,255,0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 460px;
}
.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold-300);
  display: block;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* Globe Container */
.hero-globe {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#globe-canvas {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 1;
  cursor: pointer;
}
.globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232,163,23,0.15);
  animation: rotateRing 20s linear infinite;
  pointer-events: none;
}
.globe-ring-1 { width: 110%; height: 110%; animation-duration: 20s; }
.globe-ring-2 { width: 125%; height: 125%; animation-direction: reverse; animation-duration: 30s; }
.globe-ring-3 { width: 145%; height: 145%; animation-duration: 45s; border-color: rgba(232,163,23,0.08); }
@keyframes rotateRing {
  from { transform: rotate(0deg) rotateX(70deg); }
  to { transform: rotate(360deg) rotateX(70deg); }
}
.globe-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,23,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
.globe-click-hint {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(232,163,23,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: fadeUpDown 2s ease-in-out infinite;
}
@keyframes fadeUpDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(-4px); opacity: 1; }
}

/* ── Globe Live Photo thumbnails ───────────────────────── */
/* Outer wrapper — positioned by JS transform each frame    */
.grp-photo {
  position: absolute;
  top: 0; left: 0;           /* JS overrides via transform  */
  width: 250px;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transition: opacity 0.35s ease;
  will-change: transform, opacity;
}
/* Varying thumbnail sizes for visual appeal */
.grp-photo:nth-child(odd) { width: 230px; }
.grp-photo:nth-child(even) { width: 270px; }

/* Image frame with Ken-Burns live-photo feel */
.grp-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(232, 163, 23, 0.88);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.14);
  background: #0e2e20;
}
.grp-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 3-second Ken-Burns "Live Photo" motion */
  animation: grpLivePhoto 3s ease-in-out infinite alternate;
  animation-delay: var(--lp-delay, 0s);
}
@keyframes grpLivePhoto {
  0%   { transform: scale(1.18) translate( 2%,  2%); }
  100% { transform: scale(1.00) translate(-2%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  .grp-frame img { animation: none; }
}

/* Product label at the bottom of the thumbnail */
.grp-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 4px 4px;
  background: linear-gradient(transparent, rgba(10,36,25,0.92));
  color: #fff;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Thin pin line connecting thumbnail to the marker dot */
.grp-pin {
  display: block;
  width: 2px;
  height: 10px;
  margin: 0 auto;
  background: linear-gradient(to bottom, rgba(232,163,23,0.85), transparent);
  border-radius: 1px;
}

/* Globe discovery — hover tooltip */
.globe-tooltip {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  transform: translate(-50%, -130%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  background: rgba(10,36,25,0.92);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}
.globe-tooltip.show { opacity: 1; }
.globe-tooltip .gt-icon { font-size: 18px; }
.globe-tooltip b { color: var(--gold-300); }

/* Globe discovery — product card */
.globe-info-card {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: -8px;
  transform: translate(-50%, 20px);
  width: min(330px, 90%);
  background: rgba(10,36,25,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) ease,
              transform var(--duration-base) var(--ease-out),
              visibility var(--duration-base) ease;
}
.globe-info-card.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.globe-card-close {
  position: absolute;
  top: 8px; right: 10px;
  z-index: 2;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(10,36,25,0.6);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.globe-card-close:hover { background: var(--gold-500); color: var(--navy-900); }
.globe-card-media { height: 140px; overflow: hidden; }
.globe-card-media img { width: 100%; height: 100%; object-fit: cover; }
.globe-card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.globe-card-region {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-300);
}
.globe-card-product {
  font-family: var(--font-heading);
  color: var(--white);
  margin: 4px 0 8px;
}
.globe-card-blurb {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-4);
}
.globe-card-link { width: 100%; justify-content: center; }

/* Particle canvas overlay */
#particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  z-index: 3;
  animation: bounceDown 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { top: 5px; opacity: 1; }
  80% { top: 18px; opacity: 0; }
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Hero Responsive */
@media (max-width: 1024px) {
  #hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-block: var(--space-10) var(--space-14);
  }
  .hero-eyebrow { flex-wrap: wrap; justify-content: center; text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-globe { display: none; }
  .hud-element { display: none; }
}

/* ─── TICKER / MARQUEE ─────────────────────────────── */
.ticker-bar {
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 50%, var(--gold-500) 100%);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  border-top: 3px solid var(--navy-700);
  border-bottom: 3px solid var(--navy-700);
  box-shadow: var(--shadow-md);
}
.ticker-inner {
  display: flex;
  gap: var(--space-12);
  animation: ticker 38s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-bar:hover .ticker-inner { animation-play-state: paused; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--navy-900);
  flex-shrink: 0;
}
.ticker-item .ticker-icon {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(10,36,25,0.25));
}
.ticker-item::after {
  content: '✦';
  color: var(--navy-700);
  font-size: var(--text-xl);
  margin-left: var(--space-6);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── ABOUT SNAPSHOT ─────────────────────────────── */
.about-snapshot {
  background: var(--color-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-2xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

/* ── About "Live Photo" slideshow (9 crops, 3s each, Ken-Burns motion) ── */
.about-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--navy-900);
}
.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  animation: aboutLivePhoto 27s infinite;
}
/* stagger each slide by 3 seconds */
.about-slide:nth-child(1) { animation-delay: 0s; }
.about-slide:nth-child(2) { animation-delay: 3s; }
.about-slide:nth-child(3) { animation-delay: 6s; }
.about-slide:nth-child(4) { animation-delay: 9s; }
.about-slide:nth-child(5) { animation-delay: 12s; }
.about-slide:nth-child(6) { animation-delay: 15s; }
.about-slide:nth-child(7) { animation-delay: 18s; }
.about-slide:nth-child(8) { animation-delay: 21s; }
.about-slide:nth-child(9) { animation-delay: 24s; }
@keyframes aboutLivePhoto {
  0%   { opacity: 0; transform: scale(1.16); }
  1.5% { opacity: 1; }
  11%  { opacity: 1; }
  13%  { opacity: 0; transform: scale(1.0); }
  100% { opacity: 0; transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .about-slide { animation-duration: 0s; }
  .about-slide:nth-child(1) { opacity: 1; }
}
.about-live-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(10,36,25,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-wider);
  color: var(--white);
}
.about-live-badge .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 0 rgba(255,201,77,0.7);
  animation: liveDotPulse 1.6s ease-out infinite;
}
@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,201,77,0.7); }
  70%  { box-shadow: 0 0 0 7px rgba(255,201,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,201,77,0); }
}
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  padding: var(--space-5) var(--space-6);
  background: var(--grad-navy);
  border: 1px solid rgba(232,163,23,0.3);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}
.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1;
}
.about-badge-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.about-content h2 { margin-bottom: var(--space-6); }
.about-content p  { margin-bottom: var(--space-4); }
.about-features { display: flex; flex-direction: column; gap: var(--space-4); margin-block: var(--space-8); }
.about-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  background: rgba(10,36,25,0.04);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold-500);
  transition: background var(--duration-fast) ease;
}
.about-feature:hover { background: rgba(10,36,25,0.08); }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  background: var(--grad-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.feature-text h5 { color: var(--color-primary); margin-bottom: 4px; }
.feature-text p  { font-size: var(--text-sm); margin: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-image-main, .about-slideshow { height: 300px; }
  .about-badge {
    bottom: var(--space-3);
    right: var(--space-3);
    padding: var(--space-3) var(--space-4);
  }
  .about-badge-num { font-size: var(--text-3xl); }
}

/* ─── PRODUCTS OVERVIEW ──────────────────────────── */
.products-overview { background: var(--cream); }
.products-overview .section-title { margin-bottom: var(--space-12); }
.product-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.product-cat-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  group: true;
}
.product-cat-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-cat-card:hover img { transform: scale(1.06); }
.product-cat-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--duration-base) ease;
}
.product-cat-card:hover .product-cat-overlay {
  background: linear-gradient(180deg, rgba(10,36,25,0.1) 0%, rgba(10,36,25,0.92) 100%);
}
.product-cat-icon {
  font-size: 32px;
  margin-bottom: var(--space-3);
  display: block;
}
.product-cat-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: var(--space-2);
}
.product-cat-count {
  font-size: var(--text-xs);
  color: var(--gold-300);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.product-cat-arrow {
  position: absolute;
  top: var(--space-4); right: var(--space-4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(232,163,23,0.2);
  border: 1px solid rgba(232,163,23,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  font-size: 14px;
  transform: translateY(4px);
  opacity: 0;
  transition: all var(--duration-base) var(--ease-out);
}
.product-cat-card:hover .product-cat-arrow {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) { .product-cats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .product-cats-grid { grid-template-columns: 1fr; } }

/* ─── WHY CHOOSE US ──────────────────────────────── */
.why-us { background: var(--white); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.why-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-base) var(--ease-out);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: rgba(232,163,23,0.2); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-md);
}
.why-card h4 { margin-bottom: var(--space-3); font-size: var(--text-xl); }
.why-card p  { font-size: var(--text-sm); }
@media (max-width: 1024px) { .why-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .why-us-grid { grid-template-columns: 1fr; } }

/* ─── COMPANY DOCUMENT ────────────────────────────── */
.ssm-section { background: var(--navy-800); }
.ssm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.ssm-text { color: var(--white); }
.ssm-text h2 { color: var(--white); margin-bottom: var(--space-4); }
.ssm-text p  { color: rgba(255,255,255,0.7); margin-bottom: var(--space-6); }
.ssm-doc-preview {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(232,163,23,0.2);
  position: relative;
}
.ssm-doc-preview img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
}
.ssm-doc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,36,25,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-base) ease;
}
.ssm-doc-preview:hover .ssm-doc-overlay { opacity: 1; }
@media (max-width: 768px) {
  .ssm-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .ssm-doc-preview img { height: auto; max-height: 360px; }
}

/* ─── GLOBAL REACH ──────────────────────────────── */
.global-reach { background: var(--cream); }
.countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
  justify-content: center;
}
.country-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}
.country-chip:hover {
  background: var(--navy-700);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.country-chip .flag { font-size: 18px; }
