/* ============================================================
   VITUS Systems Sdn. Bhd. — Brand Design System
   Brandkit: Navy #012A46 | Orange #ED7618 | Outfit + Inter
   ============================================================ */

/* Fonts (Outfit, Inter) are loaded via <link> in each page's <head> so they download in parallel. */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --navy:        #012A46;
  --navy-mid:    #013a5e;
  --navy-light:  #024a78;
  --orange:      #ED7618;
  --orange-dark: #c45e0a;
  --orange-lite: #f9922a;
  --white:       #FFFFFF;
  --bg-light:    #F8FAFC;
  --bg-section:  #F2F6FA;
  --border:      #D8E4EF;
  --text-dark:   #0A1F2E;
  --text-mid:    #3A5068;
  --text-light:  #7A96AE;
  --whatsapp:    #25D366;
  --success:     #2DBE6C;

  --font-head:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 12px rgba(1, 42, 70, 0.08);
  --shadow-md:   0 6px 24px rgba(1, 42, 70, 0.12);
  --shadow-lg:   0 16px 48px rgba(1, 42, 70, 0.16);
  --transition:  transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Accessibility & Focus Ring Standards ─────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  z-index: 99999;
  box-shadow: var(--shadow-lg);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 20px;
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ── Sticky Anchor Offset ─────────────────────────────────── */
[id],
section,
.catalog-card {
  scroll-margin-top: 96px;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--text-mid); line-height: 1.7; text-wrap: pretty; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 118, 24, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1fa855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ── Section Labels ────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 640px; margin-bottom: 40px; }

/* ── Badges / Tags ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-head);
  white-space: nowrap;
}
.badge-orange { background: rgba(237, 118, 24, 0.12); color: var(--orange-dark); }
.badge-navy   { background: rgba(1, 42, 70, 0.08);   color: var(--navy); }
.badge-green  { background: rgba(45, 190, 108, 0.12); color: #1a9655; }

/* ── Sticky Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 70px; width: auto; }
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: inline-block;
  object-fit: contain;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: color 0.2s;
}
.phone-link:hover { color: var(--navy); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Mobile Nav Drawer ─────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 42, 70, 0.5);
  backdrop-filter: blur(4px);
}
.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav-links a {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--orange); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  font-size: 1.4rem;
  color: var(--navy);
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, rgba(1, 42, 70, 0.65) 0%, rgba(1, 42, 70, 0.78) 100%),
              url('../assets/hero_bg.webp') center/cover no-repeat;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 118, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 118, 24, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237, 118, 24, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(237, 118, 24, 0.15);
  border: 1px solid rgba(237, 118, 24, 0.35);
  color: var(--orange-lite);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-tagline-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 500;
}

/* ── Company Background Section ────────────────────────────── */
.company-bg {
  padding: 96px 0;
  background: var(--white);
}
.company-bg-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.company-bg-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company-bg-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.company-bg-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.company-bg-photo-badge .icon-circle {
  width: 44px;
  height: 44px;
  background: rgba(237, 118, 24, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-bg-photo-badge svg { color: var(--orange); }
.company-bg-photo-badge strong { font-family: var(--font-head); font-weight: 700; color: var(--navy); display: block; }
.company-bg-photo-badge span { font-size: 0.8rem; color: var(--text-light); }
.company-bg-body h2 { color: var(--navy); margin-bottom: 20px; }
.company-bg-body p { font-size: 1.02rem; color: var(--text-mid); margin-bottom: 24px; }
.company-highlight-list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.company-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.company-highlight-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: rgba(237, 118, 24, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-highlight-icon svg { width: 16px; height: 16px; color: var(--orange); }
.company-highlight-item p { font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* ── Services Section ──────────────────────────────────────── */
.services-section {
  padding: 96px 0;
  background: var(--bg-section);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(237, 118, 24, 0.2);
}
.service-card:hover::before { background: var(--orange); }
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(1, 42, 70, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(237, 118, 24, 0.1); }
.service-icon svg { width: 28px; height: 28px; color: var(--navy); transition: color 0.3s; }
.service-card:hover .service-icon svg { color: var(--orange); }
.service-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }

/* ── Featured Products Section ─────────────────────────────── */
.featured-section {
  padding: 96px 0;
  background: var(--white);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
/* Homepage featured products (3 cards): wrap and centre, so a card left alone
   on the last row (tablet width) sits in the middle instead of the left. */
#featuredProductsGrid { display: flex; flex-wrap: wrap; justify-content: center; }
#featuredProductsGrid .product-card { flex: 1 1 320px; max-width: 380px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  max-width: 380px;
  width: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(237, 118, 24, 0.3);
}
.product-card-img {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.product-card-body .badge { margin-bottom: 12px; }
.product-card-body h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.05rem; }
.product-card-body p { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.spec-chip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-mid);
  font-family: var(--font-head);
}
.product-card-actions { display: flex; gap: 10px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.8fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-company-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-bottom: 20px;
}
.footer-company-name .footer-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.footer-company-name .footer-orange {
  color: var(--orange);
}
.footer-company-name .footer-subtitle {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-top: 2px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-link:hover, .social-link:focus-visible { background: var(--orange); }
.social-link svg { display: block; width: 18px; height: 18px; color: rgba(255,255,255,0.8); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.footer-contact-item span { font-size: 0.87rem; color: rgba(255, 255, 255, 0.7); line-height: 1.5; }
.footer-contact-item a:hover span { color: var(--orange-lite); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-actions .btn { min-height: 44px; padding: 0 14px; white-space: nowrap; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }

/* ── Floating WhatsApp Widget ──────────────────────────────── */
.whatsapp-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
}
.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6); }
.whatsapp-btn svg { width: 30px; height: 30px; color: var(--white); }
.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--whatsapp);
  animation: whatsapp-ring 2.5s infinite;
}
@keyframes whatsapp-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--navy);
}
.whatsapp-widget:hover .whatsapp-tooltip { opacity: 1; }

/* ── Enquiry Modal ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(1, 42, 70, 0.6);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
}
.modal-overlay.open { display: grid; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: min(560px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  animation: modal-in 0.3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-section);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1.2rem;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-box h3 { color: var(--navy); margin-bottom: 6px; }
.modal-box .sub { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  box-shadow: 0 0 0 3px rgba(237, 118, 24, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 0.82rem; line-height: 1.5; color: var(--text-mid); }
.form-consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--orange); }
.form-consent label { font-weight: 400; margin: 0; }
.form-consent a { color: var(--orange); text-decoration: underline; }
.form-status { margin-top: 14px; font-size: 0.88rem; border-radius: var(--radius-sm); padding: 10px 14px; display: none; }
.form-status.success { background: rgba(45, 190, 108, 0.1); color: #1a9655; display: block; }
.form-status.error   { background: rgba(220, 50, 50, 0.1);  color: #c23232; display: block; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, rgba(1, 42, 70, 0.65) 0%, rgba(1, 42, 70, 0.78) 100%),
              url('../assets/hero_bg.webp') center/cover no-repeat;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(237, 118, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 118, 24, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.82rem;
  font-family: var(--font-head);
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; max-width: 560px; margin-top: 14px; }

/* ── Products Page Filter Tabs ─────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 9px 22px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover { border-color: var(--navy); color: var(--navy); }
.filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ── Careers Cards ─────────────────────────────────────────── */
/* ── Careers Cards ─────────────────────────────────────────── */
.careers-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.career-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--navy);
  transition: background 0.25s;
}
.career-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(237,118,24,0.3); }
.career-card:hover::before { background: var(--orange); }
.career-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  text-align: left !important;
}
.career-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.35rem; margin-bottom: 8px; text-align: left !important; }
.career-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; text-align: left !important; }
.career-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-light); }
.career-meta-item svg { width: 14px; height: 14px; color: var(--orange); }
.career-dept { font-size: 0.82rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-family: var(--font-head); text-align: left !important; }
.career-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .career-card-body { grid-template-columns: 1fr; gap: 24px; }
  .career-card { padding: 24px 20px; }
}
.career-section-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.career-section-title svg { color: var(--orange); }
.career-responsibilities { margin-bottom: 0; text-align: left !important; list-style: none; padding-left: 0; }
.career-responsibilities li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  text-align: left !important;
}
.career-responsibilities li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.75rem;
  top: 6px;
}
.career-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(237,118,24,0.06);
  border: 1px dashed rgba(237,118,24,0.3);
  border-radius: var(--radius-md);
}
.career-card-footer-text {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: flex-start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(237, 118, 24, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon svg { color: var(--orange); }
.contact-info-text strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-info-text a, .contact-info-text span { font-size: 0.9rem; color: var(--text-mid); }
.contact-info-text a:hover { color: var(--orange); }
.contact-form-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form-box h3 { color: var(--navy); margin-bottom: 8px; }
.contact-form-box .sub { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }
.map-embed {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.map-placeholder svg { color: var(--text-light); }
.map-placeholder p { color: var(--text-light); font-size: 0.9rem; }

/* ── News Cards ────────────────────────────────────────────── */
.news-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  max-width: 480px;
  width: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 280px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 24px; }
.news-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.news-date { font-size: 0.8rem; color: var(--text-light); font-family: var(--font-head); font-weight: 500; }
.news-card-body h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35; }
.news-card-body p { font-size: 0.88rem; color: var(--text-mid); }

/* ── About Page ────────────────────────────────────────────── */
.about-vision { padding: 96px 0; background: var(--white); }
.about-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-detail-box {
  padding: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.about-detail-box h4 { color: var(--navy); margin-bottom: 14px; }
.about-detail-box p { font-size: 0.92rem; color: var(--text-mid); }
.about-detail-box h3 { color: var(--navy); margin-bottom: 14px; font-size: 1.15rem; }

/* ── About: Mission & Vision, How We Work ─────────────────── */
.mission-section { padding: 72px 0; background: var(--white); }
.mission-grid { margin-top: 40px; gap: 32px; align-items: stretch; }
.process-section { padding: 80px 0; background: var(--white); }
.process-steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.process-step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 14px;
}
.process-step h3 { color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-mid); }

/* ── 404 Page ──────────────────────────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1, .error-page h2 { color: var(--navy); margin-bottom: 14px; }
.error-page p { color: var(--text-mid); max-width: 400px; margin: 0 auto 32px; }

/* ── General Sections ──────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-left: auto; margin-right: auto; }
.section-header.centered .section-eyebrow {
  justify-content: center;
}

/* Modern Brand-Orange Vertical Accent Bar Section Header */
.section-header-accent-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 5px solid var(--orange);
  margin-bottom: 48px;
}
.section-header-accent-bar .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
}
.section-header-accent-bar .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}
.section-header-accent-bar .section-description {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  line-height: 1.6;
  margin-top: 4px;
}
.divider { height: 1px; background: var(--border); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* ── Utility ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-navy   { color: var(--navy); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }

/* ── Animations ────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .company-bg-inner { grid-template-columns: 1fr; gap: 40px; }
  .company-bg-photo img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .whatsapp-widget { bottom: 20px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ── WhatsApp Category Selection Modal ───────────────────────── */
.wa-category-modal .modal-box {
  max-width: 520px;
  background: var(--white);
  border-top: 5px solid var(--whatsapp);
}
.wa-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.wa-modal-header h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wa-modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.wa-category-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.wa-category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-category-btn:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: var(--whatsapp);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}
.wa-category-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-category-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.wa-category-arrow {
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.wa-category-btn:hover .wa-category-arrow {
  color: var(--whatsapp);
  transform: translateX(4px);
}

/* ── Catalog cards (products.html, detail pages) ──────────── */
.catalog-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.product-detail-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-detail-list li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
}

.product-detail-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
  top: 3px;
}

.catalog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(237, 118, 24, 0.2);
}

.catalog-card:hover::before {
  background: var(--orange);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ── Card title links & product/service detail pages ──────── */
.card-link { color: inherit; transition: color 0.2s; }
.card-link:hover { color: var(--orange); }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.detail-media {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 10 / 7;
}
.detail-media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.detail-info:hover { transform: none; }
.detail-subtitle { color: var(--navy); font-size: 1.1rem; margin: 20px 0 10px; }
.detail-info p { color: var(--text-mid); }
.detail-related { padding-top: 0; }
.detail-features { margin-bottom: 20px; }
.detail-features li { font-size: 0.9rem; }
.detail-gallery-section, .detail-benefits-section { padding-top: 0; }
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.detail-gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.detail-gallery-item img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 12px;
  background: var(--white);
}
.detail-gallery-item figcaption {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 10px 14px;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; }
}
