/* =========================================================
   GTEAM TECHNOLOGY — Landing Page
   Theme: Game Studio Editorial
   Palette: cool white + midnight navy + logo blue accent
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Cool neutrals */
  --bg:            #f4f7fb;   /* cool off-white, blue-tinted */
  --bg-alt:        #e8eef7;   /* slightly deeper cool */
  --ink:           #0a1929;   /* midnight navy (dark sections) */
  --ink-2:         #0f2137;   /* soft navy layer */
  --ink-3:         #152a43;   /* card on dark */

  /* Text */
  --text:          #0a1929;
  --text-muted:    #5a6b7f;
  --text-faint:    #8a95a5;
  --text-on-dark:  #e8eef7;
  --text-on-dark-muted: #9aa9bf;

  /* Borders */
  --border:        #dbe3ee;      /* on light */
  --border-dark:   #1e3556;      /* on dark */

  /* Accent — logo blue, used for CTA and highlights */
  --accent:        #1e9fff;      /* matches logo */
  --accent-hover:  #0d8de6;
  --accent-dark:   #0072c6;
  --accent-soft:   rgba(30, 159, 255, 0.12);

  /* Misc */
  --radius:        6px;
  --radius-lg:     10px;
  --radius-full:   999px;
  --container:     1160px;
  --header-h:      68px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  font-feature-settings: "ss01";
}
p { margin: 0; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 10000;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section {
  padding: 120px 0;
  scroll-margin-top: var(--header-h);
}
.section-head {
  max-width: 680px;
  margin: 0 auto 72px;
}
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  padding-right: 32px;
}
.section-head.center .eyebrow {
  padding-right: 0;
  border-bottom: none;
  position: relative;
  padding-bottom: 0;
}
.section-head.center .eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 14px;
  opacity: 0.5;
}
.section-head.center .eyebrow::after {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-left: 14px;
  opacity: 0.5;
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 20px;
  font-weight: 500;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Dark section variant */
.on-dark { background: var(--ink); color: var(--text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-on-dark); }
.on-dark .eyebrow { color: var(--text-on-dark-muted); border-color: var(--border-dark); }
.on-dark .section-sub { color: var(--text-on-dark-muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 36px; width: 36px; object-fit: contain; }
.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  white-space: nowrap;
}
.brand img {
  transition: transform 0.4s var(--ease);
}
.brand:hover img { transform: rotate(-8deg); }
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link.active::after { right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 6px 20px -8px rgba(30, 159, 255, 0.6);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px -8px rgba(30, 159, 255, 0.7);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text);
}
.on-dark .btn-ghost {
  color: var(--text-on-dark);
  border-color: var(--border-dark);
}
.on-dark .btn-ghost:hover { border-color: var(--text-on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--text);
  transition: gap 0.3s var(--ease);
}
.text-link:hover { gap: 14px; }
.on-dark .text-link { color: var(--text-on-dark); border-color: var(--text-on-dark); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 140px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-text .hero-cta { padding-bottom: 4px; }

/* Hero icon cluster */
.hero-icons {
  position: relative;
  width: 100%;
  height: 460px;
  isolation: isolate;
}
.hero-icons::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background:
    radial-gradient(circle at 30% 35%, rgba(30, 159, 255, 0.22), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(245, 158, 11, 0.18), transparent 55%);
  filter: blur(10px);
  z-index: -1;
}
.hero-icon {
  position: absolute;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 30px 60px -22px rgba(10, 25, 41, 0.45),
    0 0 0 6px #ffffff,
    0 0 0 7px rgba(30, 159, 255, 0.18);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  animation: heroFloat 6.5s ease-in-out infinite;
  will-change: transform;
}
.hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-icon:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 40px 80px -22px rgba(30, 159, 255, 0.45),
    0 0 0 6px #ffffff,
    0 0 0 8px rgba(30, 159, 255, 0.35);
  z-index: 5;
  animation-play-state: paused;
}

.hero-icon--1 {
  width: 200px; height: 200px;
  top: 30px; left: 8%;
  animation-delay: 0s;
}
.hero-icon--2 {
  width: 170px; height: 170px;
  top: 70px; right: 6%;
  animation-delay: 1.2s;
}
.hero-icon--3 {
  width: 160px; height: 160px;
  bottom: 30px; left: 32%;
  animation-delay: 2.4s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-icon { animation: none; }
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--text-muted);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}
.hero-proof .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* ---------- About (on-dark) ---------- */
#about { padding: 110px 0; }
.about-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 36px;
}

.quote-card {
  padding: 32px 36px 30px;
  background: var(--bg-alt);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  position: relative;
}
.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.quote-card blockquote {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
}
.quote-author strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark);
}
.quote-author span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}

/* ---------- Pillars (merged Services + Features) ---------- */
#pillars { padding: 140px 0; background: var(--bg); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.pillar {
  padding: 48px 40px 52px;
  background: var(--bg);
  transition: background 0.4s var(--ease);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
}
.pillar.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.4s var(--ease);
}
.pillar:hover { background: var(--bg-alt); }
.pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 28px;
  display: block;
}
.pillar-icon {
  width: 36px;
  height: 36px;
  color: var(--text);
  margin-bottom: 28px;
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.25;
}
.pillar p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ---------- Products (on-dark) ---------- */
#products { padding: 140px 0; }

.products-slider {
  position: relative;
}
.products-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.products-grid::-webkit-scrollbar { display: none; }

/* Slider nav arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -10px rgba(10, 25, 41, 0.18);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 3;
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn--prev { left: -22px; }
.slider-btn--next { right: -22px; }
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(30, 159, 255, 0.5);
}
.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #fff;
  border-color: var(--border);
  color: var(--text-faint);
  box-shadow: none;
}
.slider-btn[hidden] { display: none; }

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.slider-dots:empty { display: none; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.slider-dot:hover { background: var(--text-faint); }
.slider-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 999px;
}

.product-card {
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  min-width: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease),
              transform 0.7s var(--ease);
  position: relative;
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-media {
  position: relative;
  padding: 40px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-media img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  box-shadow:
    0 18px 40px -14px rgba(30, 159, 255, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.04),
    0 0 0 5px rgba(30, 159, 255, 0.18);
}
.product-card:hover .product-media img {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 26px 50px -14px rgba(30, 159, 255, 0.55),
    0 0 0 4px rgba(255, 255, 255, 0.06),
    0 0 0 5px rgba(30, 159, 255, 0.4);
}

.product-status {
  position: absolute;
  top: 44px;
  right: calc(50% - 70px);
  z-index: 2;
}
.product-status .dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.85);
}
.product-status--soon .dot {
  background: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.85);
}

.product-body {
  padding: 14px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
}
.product-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.2;
}
.product-tagline {
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin: 0 0 14px;
}
.product-release {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.product-release--soon {
  color: #b56700;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}
.product-release--live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.store-icons--compact {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: auto;
  justify-content: center;
}
.store-btn.store-btn--icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  justify-content: center;
}
.store-btn.store-btn--icon svg {
  width: 20px;
  height: 20px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  flex: 1;
  min-width: 150px;
  justify-content: center;
}
.store-btn:hover {
  background: rgba(30, 159, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-btn .store-btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-btn .store-btn-label small {
  font-size: 0.65rem;
  color: var(--text-on-dark-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
#contact { padding: 110px 0; background: var(--bg); }
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.contact-headline em { font-style: italic; }
.contact-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 56px;
}
.contact-email {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 48px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-email:hover {
  color: var(--accent-hover);
  border-color: var(--accent);
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.contact-info div {
  text-align: left;
}
.contact-info span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.contact-info strong {
  display: block;
  color: var(--text);
  font-weight: 500;
}
.contact-socials {
  display: inline-flex;
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.contact-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.contact-socials a:hover {
  color: var(--text);
  border-color: var(--border);
}
.contact-socials svg { width: 18px; height: 18px; }

/* ---------- Footer (on-dark) ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 80px 0 36px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.footer-brand {
  max-width: 380px;
}
.footer-brand .brand-name { color: var(--accent); }
.footer-brand img { height: 36px; width: 36px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-on-dark-muted);
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  section { padding: 96px 0; }
  #about, #pillars, #products, #contact { padding: 96px 0; }
  .pillars-grid { grid-template-columns: 1fr; }
  .products-grid { gap: 24px; }
  .product-card { flex: 0 0 calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }

  /* Hero — collapse to single column */
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-icons {
    height: 320px;
    max-width: 460px;
    margin: 0 auto;
  }
  .hero-icon--1 { width: 160px; height: 160px; top: 10px; left: 10%; }
  .hero-icon--2 { width: 140px; height: 140px; top: 50px; right: 8%; }
  .hero-icon--3 { width: 130px; height: 130px; bottom: 10px; left: 30%; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  section { padding: 72px 0; }
  #about, #pillars, #products, #contact { padding: 72px 0; }

  /* Hero */
  .hero { padding: 56px 0 80px; }
  .hero-eyebrow { margin-bottom: 24px; font-size: 11px; }
  .hero-eyebrow::before { width: 24px; }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: none;
  }
  .hero-sub {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
  }
  .hero-cta { gap: 20px; }
  .hero-proof {
    margin-top: 48px;
    padding-top: 22px;
    gap: 10px 16px;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .hero-proof .sep { display: none; }

  /* Header + Nav */
  .header-inner { gap: 12px; }
  .brand img { height: 32px; width: 32px; }
  .brand-name { font-size: 1.05rem; }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px 32px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px -20px rgba(10, 25, 41, 0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 1.05rem;
    color: var(--text);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-link::after { display: none; }

  /* Section heads */
  .section-head { margin-bottom: 48px; }
  .section-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-sub { font-size: 0.98rem; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .section-head.center .eyebrow::before,
  .section-head.center .eyebrow::after { width: 20px; margin-left: 10px; margin-right: 10px; }

  /* About + Quote */
  .quote-card {
    padding: 28px 24px 26px;
  }
  .quote-mark { font-size: 4rem; }
  .quote-card blockquote {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  .about-lead { font-size: 0.98rem; line-height: 1.8; margin-bottom: 28px; }

  /* Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .pillar { padding: 36px 28px 40px; }
  .pillar-num { margin-bottom: 20px; font-size: 0.8rem; }
  .pillar-icon { width: 32px; height: 32px; margin-bottom: 22px; }
  .pillar h3 { font-size: 1.35rem; margin-bottom: 12px; }
  .pillar p { font-size: 0.94rem; line-height: 1.7; }

  /* Ẩn cụm icon hero trên mobile */
  .hero-icons { display: none; }

  /* Product cards — slider 1 per view */
  .products-grid { gap: 0; }
  .product-card { flex: 0 0 100%; }
  .product-media { padding: 28px 0 8px; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn--prev { left: 4px; }
  .slider-btn--next { right: 4px; }
  .slider-btn svg { width: 18px; height: 18px; }
  .product-media img { width: 116px; height: 116px; }
  .product-status { top: 36px; right: calc(50% - 62px); }
  .product-body { padding: 12px 22px 24px; }
  .product-card h3 { font-size: 1.4rem; }
  .product-tagline { font-size: 0.85rem; margin-bottom: 18px; }

  /* Contact */
  .contact-headline { font-size: clamp(1.7rem, 6vw, 2.2rem); margin-bottom: 18px; }
  .contact-sub { font-size: 0.98rem; margin-bottom: 40px; }
  .contact-email {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-bottom: 36px;
    word-break: break-all;
  }
  .contact-info {
    gap: 24px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
  }
  .contact-info div { text-align: center; }
  .contact-socials { padding-top: 28px; }
  .contact-socials a { width: 44px; height: 44px; }

  /* Footer */
  .site-footer { padding: 60px 0 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 0.78rem;
  }
  .footer-col h5 { margin-bottom: 16px; }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding: 40px 0 64px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .text-link { justify-content: center; }

  .product-body { padding: 22px 20px 24px; }
  .product-card h3 { font-size: 1.35rem; }

  .contact-wrap { text-align: center; }
  .quote-card { padding: 28px 20px 24px; }
  .pillar { padding: 32px 24px 36px; }
}
