/* Client-requested typography, alignment, content-priority and performance refinements. */
:root {
  --font-en: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

html {
  scroll-behavior: auto !important;
}

body::before,
.hero::before,
.hero::after,
.cta-panel,
.memory-main img {
  animation: none !important;
}

body::before,
.hero::before {
  transform: none !important;
}

h1,
h2,
h3 {
  font-weight: 650 !important;
  letter-spacing: -0.025em !important;
}

main h1,
main h2,
main h3,
main .section-heading,
main .page-hero-inner,
main .product-grid-heading {
  text-align: center !important;
}

main .section-heading,
main .page-hero-inner,
main .product-grid-heading {
  margin-inline: auto !important;
}

.hero-copy h1 {
  font-weight: 560 !important;
  line-height: 1.08 !important;
}

/* Keep content visible even if the original scroll observer misses after layout changes. */
.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  .info-card,
  .product-card,
  .service-card,
  .service-page-card,
  .review-card,
  .stat-card,
  .spec-card,
  .warranty-card,
  .quality-card,
  .contact-item,
  .action-bubble,
  .flagship-card {
    transition-duration: 0.12s !important;
  }
}

.eyebrow,
.button,
.site-nav a,
.card-arrow,
.text-link,
.feature-pills em,
.size-strip em {
  font-weight: 700 !important;
}

.hero-copy,
.section-heading,
.welcome-copy,
.page-hero-inner,
.product-grid-heading,
.about-copy,
.cta-panel > div:first-child {
  margin-inline: auto;
  text-align: center;
}

.hero-copy,
.welcome-copy,
.page-hero-inner,
.product-grid-heading {
  max-width: 860px;
}

.hero-copy p,
.section-heading h2,
.section-heading p,
.welcome-copy p,
.page-hero-inner p,
.product-grid-heading p,
.cta-panel p {
  margin-inline: auto;
}

.hero-actions,
.button-row,
.feature-pills,
.size-strip {
  justify-content: center;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

/* Replace the oversized floating contact circles with a compact action bar. */
.welcome-grid {
  grid-template-columns: 1fr !important;
  gap: 30px !important;
}

.welcome-copy {
  max-width: 900px;
}

.welcome-actions {
  width: min(100%, 820px) !important;
  justify-self: center !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.welcome-actions .action-bubble,
.welcome-actions .action-bubble:nth-child(2),
.welcome-actions .action-bubble:nth-child(3) {
  width: 100% !important;
  height: auto !important;
  min-height: 72px !important;
  justify-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  border: 1px solid rgba(18, 102, 255, 0.16) !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  background: linear-gradient(135deg, #fff, #f3f7ff) !important;
  box-shadow: 0 12px 30px rgba(7, 22, 41, 0.07) !important;
  font-size: 0.9rem !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.welcome-actions .action-bubble:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(18, 102, 255, 0.42) !important;
  box-shadow: 0 18px 38px rgba(18, 102, 255, 0.13) !important;
}

.welcome-actions .action-bubble svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.welcome-actions .action-bubble:nth-child(2) {
  color: #08783e !important;
  border-color: rgba(11, 167, 84, 0.2) !important;
  background: linear-gradient(135deg, #fff, #f0fff6) !important;
}

.welcome-actions .action-bubble:nth-child(2) svg {
  color: #0ba754 !important;
}

.hero-device img {
  object-position: center;
}

.institution-grid article,
.service-card,
.service-page-card,
.product-card,
.review-card,
.stat-card,
.quality-card,
.warranty-card {
  text-align: center;
}

.review-grid .review-card {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.review-section .review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.review-section .review-card {
  min-height: 290px;
  font-family: "Li Ador Noirrit", "Noto Sans Bengali", system-ui, sans-serif;
}

.review-section .review-card p {
  color: #334155 !important;
  font-size: 1.06rem;
  line-height: 1.85;
}

.review-section .review-card strong {
  font-size: 1.02rem;
}

.review-section .review-card div span {
  color: #64748b;
}

.review-section .dot-row {
  display: none !important;
}

.product-card .card-arrow,
.service-page-card .feature-pills {
  margin-inline: auto;
}

/* Personal/event imagery has been removed from the public home experience. */
.memories-section {
  display: none !important;
}

/* Logistics and Visualizer remain available on the full Products page only. */
.product-preview-section a[href="/products/logistic-items"],
.product-preview-section a[href="/products/visualizer"] {
  display: none !important;
}

.product-preview-section .other-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-preview-section .product-showcase {
  grid-template-columns: 1fr !important;
}

.product-preview-section .other-product-grid {
  align-items: start;
}

.product-preview-section .product-card {
  min-height: 0 !important;
  height: auto !important;
}

/* LMS/SMS and agency support receive the strongest service hierarchy. */
.service-card.is-priority-service,
.service-page-card.is-priority-service {
  border-color: rgba(79, 214, 255, 0.72) !important;
  background: linear-gradient(135deg, rgba(18, 102, 255, 0.96), rgba(7, 22, 41, 0.96)) !important;
  color: #fff !important;
  box-shadow: 0 24px 60px rgba(18, 102, 255, 0.22) !important;
}

.service-card.is-priority-service,
.service-page-card.is-priority-service {
  grid-column: span 1 !important;
}

.service-card.is-priority-service h3,
.service-page-card.is-priority-service h2 {
  font-size: clamp(1.25rem, 2vw, 1.85rem) !important;
  line-height: 1.2 !important;
}

.service-card.is-priority-service p,
.service-page-card.is-priority-service p {
  max-width: 640px;
  margin-inline: auto;
}

.service-card.is-priority-service h3,
.service-card.is-priority-service p,
.service-page-card.is-priority-service h2,
.service-page-card.is-priority-service p,
.service-page-card.is-priority-service svg {
  color: #fff !important;
}

.service-preview .section-heading p:not(.eyebrow),
.service-preview .service-card p {
  color: #e7eef8 !important;
  opacity: 1 !important;
}

.service-page-card p,
.product-card p,
.info-card p,
.review-card p {
  color: #475569 !important;
}

.service-page-card.is-priority-service p {
  color: #edf5ff !important;
}

.stat-card strong {
  min-width: 4ch;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .brand {
    position: relative;
    z-index: 2;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9.5vw, 2.85rem) !important;
  }

  .product-preview-section .other-product-grid {
    grid-template-columns: 1fr;
  }

  .welcome-actions {
    grid-template-columns: 1fr !important;
  }

  .welcome-actions .action-bubble,
  .welcome-actions .action-bubble:nth-child(2),
  .welcome-actions .action-bubble:nth-child(3) {
    min-height: 60px !important;
  }

  .service-card.is-priority-service,
  .service-page-card.is-priority-service {
    grid-column: 1 / -1 !important;
  }

  .review-section .review-grid {
    grid-template-columns: 1fr !important;
  }

  .review-section .review-card {
    min-height: 0;
  }
}
