/* ============================================================
   e-Manufaktur — Global Stylesheet
   Primary: #1A9AA0 (teal), Light: #2DC4C4, Dark: #0D6B70
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── CSS VARIABLES ── */
:root {
  --primary:    #1A9AA0;
  --primary-l:  #2DC4C4;
  --primary-d:  #0D6B70;
  --primary-dd: #084548;
  --accent:     #2DC4C4;
  --dark:       #111827;
  --dark2:      #1f2937;
  --gray:       #6b7280;
  --gray-l:     #f3f4f6;
  --white:      #ffffff;
  --nav-h:      64px;
  --util-h:     36px;
  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  20px;
}

/* ── UTILITY BAR ── */
.util-bar {
  height: var(--util-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2rem;
  gap: 1.5rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}
.util-bar a, .util-bar span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.util-bar a:hover { color: var(--accent); }
.util-bar .divider { color: rgba(255,255,255,0.18); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: var(--util-h);
  left: 0; right: 0;
  z-index: 199;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.solid {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.04);
}
.navbar-inner {
  height: var(--nav-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo img.dark-logo  { display: none; }
.nav-logo img.light-logo { display: block; }
.navbar.solid .nav-logo img.dark-logo  { display: block; }
.navbar.solid .nav-logo img.light-logo { display: none; }

.nav-links {
  display: flex; align-items: center;
  gap: 0; list-style: none; flex: 1;
}
.nav-links > li > a {
  display: block;
  padding: 0 1.1rem;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.navbar.solid .nav-links > li > a { color: var(--dark); }
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary-l);
  border-bottom-color: var(--primary-l);
}
.navbar.solid .nav-links > li > a:hover,
.navbar.solid .nav-links > li > a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-actions {
  display: flex; align-items: center;
  gap: 0.75rem; margin-left: auto;
}
.nav-search-btn {
  width: 36px; height: 36px;
  border: none; background: none; cursor: pointer;
  color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.nav-search-btn:hover { background: rgba(255,255,255,0.12); }
.navbar.solid .nav-search-btn { color: var(--dark); }
.navbar.solid .nav-search-btn:hover { background: var(--gray-l); }

.nav-contact-btn {
  padding: 0 1.25rem;
  height: 36px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none; cursor: pointer;
  border-radius: 20px;
  transition: background 0.2s;
  white-space: nowrap;
  display: inline-flex; align-items: center;
}
.nav-contact-btn:hover { background: var(--primary-d); }
.nav-contact-btn.active { background: var(--primary-d); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
  padding: 4px; margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.9);
  transition: background 0.2s;
  border-radius: 2px;
}
.navbar.solid .nav-hamburger span { background: var(--dark); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--util-h) + var(--nav-h));
  left: 0; right: 0;
  background: #fff;
  z-index: 198;
  padding: 1.5rem 2rem 2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.9rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
  display: block;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .mob-cta {
  margin-top: 1.25rem;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 20px;
  font-weight: 600;
}

/* ── HERO / BANNER ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.48) 45%,
    rgba(0,0,0,0.18) 70%,
    transparent 100%
  );
}
.hero-slide-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}
.hero-content {
  position: absolute;
  bottom: 130px;
  left: 0; right: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 10;
}
.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 20px;
  transition: background 0.2s, gap 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--primary-l); gap: 0.85rem; transform: translateY(-1px); }
.hero-cta-ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.45);
  color: #fff;
}
.hero-cta-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Hero tab indicators */
.hero-tabs {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-tab {
  flex: 1;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  border: none;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
  text-align: left;
  border-top: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.hero-tab.active { border-top-color: var(--accent); background: rgba(0,0,0,0.5); }
.hero-tab:hover:not(.active) { background: rgba(0,0,0,0.42); }
.hero-tab-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.hero-tab.active .hero-tab-label { color: var(--accent); }
.hero-tab-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-tab.active .hero-tab-title { color: #fff; }

/* ── SECTION COMMONS ── */
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section-header { margin-bottom: 2.75rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-header p {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.section-header.center { text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1px;
  transition: gap 0.2s, color 0.2s;
}
.view-all-link:hover { color: var(--primary-d); gap: 0.7rem; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap 0.2s;
}
.read-more:hover { gap: 0.75rem; }

.strip-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

/* ── LATEST UPDATES ── */
.updates-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1px;
  background: #e5e7eb;
  border-radius: var(--radius);
  overflow: hidden;
}
.update-featured { background: #fff; display: flex; flex-direction: column; }
.update-featured-body { padding: 1.75rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.update-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,154,160,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.update-featured-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.update-featured-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.update-small-list { display: flex; flex-direction: column; }
.update-small {
  display: flex;
  gap: 1rem;
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
  cursor: pointer;
}
.update-small:hover { background: #f9fafb; }
.update-small:last-child { border-bottom: none; }
.update-small-img-ph {
  width: 88px; height: 64px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.update-small-body { flex: 1; min-width: 0; }
.update-small-body .update-tag { display: block; margin-bottom: 0.35rem; }
.update-small-body h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.update-small-body .date { font-size: 0.72rem; color: #9ca3af; }
.update-small-excerpt { font-size: 0.75rem; color: var(--gray); line-height: 1.5; margin: 0.25rem 0 0.35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── JOURNEY CARDS (Petronas full-bleed) ── */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.journey-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  border-radius: var(--radius);
}
.journey-card-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.journey-card:hover .journey-card-bg { transform: scale(1.04); }
.journey-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}
.journey-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.75rem;
}
.journey-card-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.journey-card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.journey-card-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journey-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap 0.2s;
}
.journey-card:hover .journey-card-arrow { gap: 0.75rem; }

/* ── STATS BANNER (dark section, large numbers) ── */
.stats-banner {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, transparent 100%);
}
.stats-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4.5rem;
  align-items: center;
}
.stats-banner-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.stats-banner-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.stats-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: transparent;
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary); opacity: 0;
  transition: opacity 0.3s;
}
.stat-item:hover { background: rgba(255,255,255,0.03); }
.stat-item:hover::before { opacity: 1; }
.stat-value {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.stat-value span { color: var(--accent); }
.stat-label {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.stat-sub { font-size: 0.68rem; color: rgba(255,255,255,0.25); margin-top: 0.25rem; }

/* ── HIGHLIGHTS (alternating full-bleed rows) ── */
.highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.highlight-row.reverse { direction: rtl; }
.highlight-row.reverse > * { direction: ltr; }
.highlight-img { overflow: hidden; position: relative; }
.highlight-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.highlight-row:hover .highlight-img img { transform: scale(1.03); }
.highlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  background: #fff;
}
.highlight-body.dark { background: var(--dark); color: #fff; }
.highlight-body.dark h3 { color: #fff; }
.highlight-body.dark p { color: rgba(255,255,255,0.58); }
.highlight-body h3 {
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.highlight-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ── HORIZONTAL SCROLL STRIP ── */
.strip-section { background: #f8f9fa; padding: 64px 0; }
.strip-scroll {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #e5e7eb;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  overflow: hidden;
}
.strip-scroll::-webkit-scrollbar { display: none; }
.strip-card {
  min-width: 300px;
  background: #fff;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: background 0.2s;
  cursor: pointer;
}
.strip-card:hover { background: #f9fafb; }
.strip-card-img-ph {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.strip-card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.strip-card-body .date {
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.strip-card-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  flex: 1;
  margin-bottom: 0.75rem;
}
.strip-card-body .read-more { margin-top: auto; }

/* ── NETWORK / LOGO STRIP ── */
.network-strip {
  background: var(--primary-dd);
  padding: 52px 0;
}
.network-strip h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.75rem;
}
.network-logos { display: flex; flex-wrap: wrap; gap: 0; }
.network-logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
  cursor: pointer;
  min-width: 160px;
}
.network-logo-item:hover { background: rgba(255,255,255,0.06); }
.network-logo-item span {
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-align: center; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.network-logo-item:hover span { color: var(--accent); }
.network-logo-abbr { display: block; font-size: 1.1rem; font-weight: 900; color: rgba(255,255,255,0.7); margin-bottom: 0.15rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: calc(var(--util-h) + var(--nav-h) + 60px);
  padding-bottom: 72px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, transparent 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0; width: 40%;
  background-image: radial-gradient(rgba(45,196,196,0.1) 2px, transparent 2px);
  background-size: 22px 22px;
  pointer-events: none;
}
.page-hero-bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: 0.18;
}
.page-hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); font-size: 0.6rem; }
.breadcrumb span:last-child { color: var(--accent); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
  max-width: 560px;
  line-height: 1.7;
}

/* ── CONTENT SECTIONS ── */
.bg-white { background: #fff; }
.bg-gray  { background: #f8f9fa; }
.bg-dark  { background: var(--dark); }
.bg-primary { background: var(--primary); }

/* Two-col content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }
.two-col-img-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 40%; height: 4px;
  background: var(--primary);
  border-radius: 0 2px 0 0;
}
.content-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.content-body.light h2 { color: #fff; }
.content-body p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.content-body.light p { color: rgba(255,255,255,0.58); }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.content-card {
  background: #fff;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid #f0f0f0;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.content-card:hover {
  border-color: var(--primary-l);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,154,160,0.1);
}
.content-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,154,160,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.content-card-icon i { font-size: 1.3rem; color: var(--primary); }
.content-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.content-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.content-card .read-more { margin-top: auto; }

/* Partner card */
.partner-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.partner-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26,154,160,0.1);
}
.partner-abbr {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,154,160,0.08);
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.partner-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.partner-card p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.partner-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-d);
  background: rgba(26,154,160,0.07);
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
}

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(26,154,160,0.1));
  border-radius: 2px;
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.375rem; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid rgba(26,154,160,0.2);
  box-shadow: 0 0 0 4px rgba(26,154,160,0.08);
}
.timeline-period {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.timeline-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}
.timeline-content ul { list-style: none; padding: 0; }
.timeline-content ul li {
  font-size: 0.83rem;
  color: var(--gray);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}
.timeline-content ul li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--primary-l);
  font-size: 0.75rem;
}

/* ── VALUES GRID ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-item {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.value-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.value-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(26,154,160,0.1);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}
.value-item h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.value-item p { font-size: 0.82rem; color: var(--gray); line-height: 1.65; }

/* ── TEAM CARDS ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.team-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.team-card:hover { border-color: var(--primary-l); transform: translateY(-3px); }
.team-avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.team-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.team-card .role { font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-bottom: 0.2rem; }
.team-card .dept { font-size: 0.72rem; color: #9ca3af; }

/* ── FORM ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.88rem;
  color: var(--dark);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: var(--radius-sm);
  outline: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,154,160,0.1);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none; cursor: pointer;
  border-radius: 20px;
  transition: background 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}
.form-submit:hover { background: var(--primary-d); transform: translateY(-1px); }

/* ── JOB CARDS ── */
.job-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.job-item:hover {
  border-color: var(--primary-l);
  box-shadow: 0 4px 16px rgba(26,154,160,0.08);
}
.job-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 0.35rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.job-meta-item {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
  display: flex; align-items: center; gap: 0.3rem;
}
.apply-btn {
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 20px;
  transition: background 0.2s;
}
.apply-btn:hover { background: var(--primary-d); }

/* ── CONTACT ── */
.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(26,154,160,0.07);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.contact-icon i { font-size: 1rem; color: var(--primary); }
.contact-info-body .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.contact-info-body p, .contact-info-body a {
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.55;
}
.contact-info-body a:hover { color: var(--primary); }

/* ── PERK ITEMS ── */
.perk-item {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}
.perk-item:hover { border-top-color: var(--primary); transform: translateY(-3px); }

/* ── FILTER PILLS ── */
.filter-pill {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── FOOTER ── */
.footer {
  background: #0c1117;
  color: rgba(255,255,255,0.5);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255,255,255,0.35);
}
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s;
  line-height: 1.55;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1.35rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ── MISC ── */
.accent-bar {
  display: block;
  width: 36px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.tab-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2.5rem;
  overflow-x: auto; scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.9rem 1.5rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray);
  border: none; background: none; cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover:not(.active) { color: var(--dark); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Sticky sub-nav */
.sub-nav {
  position: sticky;
  top: calc(var(--util-h) + var(--nav-h));
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sub-nav-inner {
  display: flex; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-btn {
  padding: 0 1.5rem;
  height: 50px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gray);
  background: none; border: none; cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.sub-nav-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.sub-nav-btn:hover:not(.active) { color: var(--dark); }

/* Placeholder gradients */
.ph-teal { background: linear-gradient(135deg, #0D6B70 0%, #1A9AA0 100%); }
.ph-dark { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); }
.ph-gray { background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%); }

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal].revealed {
  opacity: 1;
  transform: translate(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-banner-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-numbers { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-body { padding: 3rem 3.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .updates-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { aspect-ratio: 16/9; }
  .highlight-row { grid-template-columns: 1fr; }
  .highlight-row .highlight-img { min-height: 260px; }
  .highlight-row.reverse { direction: ltr; }
  .highlight-body { padding: 2.5rem 2rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse { direction: ltr; }
  .stats-numbers { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .job-item { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .util-bar { display: none; }
  :root { --util-h: 0px; }

  /* Hero content — lift up so dots don't overlap CTAs */
  .hero-content { bottom: 64px; }

  /* Hero tabs → dot indicators on mobile */
  .hero-tabs {
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-top: none;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 100%);
  }
  .hero-tab {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    background: rgba(255,255,255,.35);
    border-top: none;
    border: 2px solid transparent;
    overflow: hidden;
    transition: background .2s, transform .2s, border-color .2s;
  }
  .hero-tab.active {
    background: var(--accent);
    border-color: rgba(255,255,255,.5);
    transform: scale(1.3);
  }
  .hero-tab:hover:not(.active) { background: rgba(255,255,255,.6); }
  .hero-tab-label,
  .hero-tab-title,
  .hero-tab-progress { display: none; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-numbers { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — comprehensive fixes for all pages
   Covers inline-style grids, page-specific sections, modals
   ═══════════════════════════════════════════════════════════ */

/* ── Base container & section tightening ── */
@media (max-width: 768px) {
  .container { padding: 0 1.1rem; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.4rem; }
  .page-hero { padding-top: calc(var(--util-h) + var(--nav-h) + 36px); padding-bottom: 36px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: .88rem; }
  .breadcrumb { font-size: .72rem; }
}

/* ── Hero (homepage) ── */
@media (max-width: 768px) {
  .hero-content { bottom: 100px; }
  .hero-label { font-size: .7rem; }
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }
  .hero-desc { font-size: .85rem; }
  .hero-cta { font-size: .82rem; padding: .55rem 1.15rem; }
  .hero-tabs { bottom: 0; padding: .75rem 1rem; gap: .4rem; }
}

/* ── Partners page: intro stat band (4-col inline grid) ── */
@media (max-width: 768px) {
  .partners-stats-band { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .partners-stats-band { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── About page: 2/3+1/3 grid and pengurus grid ── */
@media (max-width: 768px) {
  .about-intro-grid  { grid-template-columns: 1fr !important; }
  .about-vision-grid { grid-template-columns: 1fr !important; }
  .pengurus-grid     { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .pengurus-grid { grid-template-columns: 1fr !important; }
}

/* ── Business page ── */
@media (max-width: 768px) {
  .business-eco-grid  { grid-template-columns: 1fr !important; }
  .business-unit-grid { grid-template-columns: 1fr !important; }
}

/* ── Partner detail page ── */
@media (max-width: 768px) {
  .pd-hero { padding: 56px 0 40px; }
  .pd-hero-inner { flex-direction: column !important; gap: 1.25rem !important; }
  .pd-logo-box { width: 80px !important; height: 80px !important; }
  .pd-logo-box img { width: 62px !important; height: 62px !important; }
  .pd-about-grid { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .pd-related-grid { grid-template-columns: 1fr !important; }
}

/* ── News/media detail page ── */
@media (max-width: 768px) {
  .nd-content-grid { grid-template-columns: 1fr !important; }
  .nd-hero { padding: 52px 0 36px; }
  .nd-related-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .nd-related-grid { grid-template-columns: 1fr !important; }
}

/* ── Media page: featured news grid ── */
@media (max-width: 768px) {
  .media-featured-grid { grid-template-columns: 1fr !important; }
  .update-small { flex-direction: row; }
}

/* ── Career page ── */
@media (max-width: 768px) {
  .job-item { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: .85rem !important; padding: 1.1rem 0 !important; }
  .job-item > div:last-child { flex-direction: row !important; margin-left: 0 !important; }
  .perk-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .magang-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
}
@media (max-width: 480px) {
  .perk-grid { grid-template-columns: 1fr !important; }
}

/* ── Contact page ── */
@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-form-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .contact-field-2col { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .contact-info-grid { grid-template-columns: 1fr !important; }
}

/* ── Home: updates carousel ── */
@media (max-width: 768px) {
  .updates-carousel { gap: 14px; }
  .upd-featured { min-width: calc(100vw - 2.2rem); }
  .upd-small    { min-width: calc(100vw - 2.2rem); flex-direction: column; }
  .upd-small-img { width: 100% !important; height: 180px !important; }
  .upd-small-img img { border-radius: var(--radius) var(--radius) 0 0; }
}

/* ── Home: partners strip ── */
@media (max-width: 768px) {
  .network-strip .container > div { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .network-logo-item { min-width: 80px; }
}

/* ── Modals (product + vacancy) ── */
@media (max-width: 768px) {
  .pm-backdrop,
  .vm-backdrop { padding: .75rem; align-items: flex-end; }
  .pm-box,
  .vm-box { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .pm-body { padding: 1.25rem 1.25rem 1.75rem; }
  .vm-header { padding: 1.5rem 1.25rem 1rem; }
  .vm-body   { padding: 1rem 1.25rem 1.75rem; }
  .pm-name, .vm-body h2 { font-size: 1.05rem; }
}

/* ── CTA sections (dark band) ── */
@media (max-width: 768px) {
  .cta-btn-row { flex-direction: column !important; align-items: stretch !important; }
  .cta-btn-row .hero-cta,
  .cta-btn-row .hero-cta-ghost { justify-content: center; width: 100%; }
}

/* ── Global CTA band (master layout) ── */
.global-cta-inner { display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; position:relative; z-index:1; }
.global-cta-h2 { font-size:clamp(1.2rem,2.5vw,1.9rem); font-weight:800; color:#fff; margin-bottom:.5rem; }
.global-cta-p { font-size:.9rem; color:rgba(255,255,255,.7); line-height:1.7; max-width:520px; margin-bottom:0; }
.global-cta-contacts { display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1.25rem; }
.global-cta-btns { display:flex; gap:.85rem; flex-wrap:wrap; justify-content:flex-end; flex-shrink:0; }
@media (max-width: 768px) {
  .global-cta-inner { grid-template-columns:1fr; gap:1.5rem; }
  .global-cta-btns { justify-content:flex-start; }
  .global-cta-btns .hero-cta { flex:1; justify-content:center; min-width:140px; }
  .global-cta-contacts { gap:1rem; }
  .global-cta-break::before { content:"\A"; white-space:pre; }
}

/* ── Related partners grid ── */
@media (max-width: 768px) {
  .related-partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .related-partners-grid { grid-template-columns: 1fr !important; }
}

/* ── General inline-grid helpers used across pages ── */
/* Anything with an explicit 4-col / 3-col / 2-col inline grid gets collapsed */
@media (max-width: 768px) {
  /* 4-col stat bands */
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* 3-col grids */
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  /* Explicit two-col fraction grids */
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1fr 300px"] { grid-template-columns: 1fr !important; }
  /* Three-column news preview */
  [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ── Typography scale-down on small screens ── */
@media (max-width: 480px) {
  .hero-cta { width: 100%; justify-content: center; }
  h1 { font-size: clamp(1.5rem, 6vw, 2.2rem) !important; }
  h2 { font-size: clamp(1.2rem, 5vw, 1.8rem) !important; }
  .section-header h2 { font-size: 1.25rem; }
}

/* ── Overflow safety ── */
body { overflow-x: hidden; }
img  { max-width: 100%; }
