/* ============================================
   Your Procurement Partner  Styles
   Brand: Navy #1a2d6b | Blue #2563eb | Sky #38bdf8
   ============================================ */

:root {
  --navy-950: #0a0f1e;
  --navy-900: #0f1729;
  --navy-800: #152040;
  --navy-700: #1a2d6b;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400: #38bdf8;
  --sky-300: #7dd3fc;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --gradient-brand: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  --shadow-sm: 0 1px 3px rgba(15, 23, 41, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 41, 0.12);
  --shadow-lg: 0 12px 40px rgba(15, 23, 41, 0.18);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.25);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: clamp(72px, 10vw, 96px);
  --edge-pad: clamp(1.25rem, 2.5vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: var(--edge-pad);
}

.container-wide {
  width: 100%;
  padding-inline: var(--edge-pad);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---- Logo Typography ---- */
.logo-y { fill: var(--white); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 44px; }
.logo-p1 { fill: var(--blue-600); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 44px; }
.logo-p2 { fill: var(--sky-400); font-family: 'Inter', sans-serif; font-weight: 900; font-size: 44px; }
.logo-tagline { fill: rgba(255, 255, 255, 0.9); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 9.5px; letter-spacing: 0.1em; }
.logo-divider { color: rgba(255, 255, 255, 0.35); stroke: currentColor; }
.header.scrolled .logo-y { fill: var(--navy-900); }
.header.scrolled .logo-tagline { fill: var(--navy-700); }
.header.scrolled .logo-divider { color: var(--gray-400); }

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { font-size: 4rem; font-weight: 900; letter-spacing: -0.02em; }
.preloader-logo .logo-y { color: var(--white); }
.preloader-logo .logo-p1 { color: var(--blue-600); }
.preloader-logo .logo-p2 { color: var(--sky-400); }
.preloader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.preloader-progress { height: 100%; width: 0; background: var(--gradient-brand); border-radius: 99px; animation: loadBar 1.2s ease forwards; }
@keyframes loadBar { to { width: 100%; } }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.header.scrolled .nav-logo-svg .logo-y { fill: var(--navy-900); }
.header.scrolled .nav-menu a { color: var(--gray-800); }
.header.scrolled .nav-toggle span { background: var(--navy-900); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav-logo {
  flex-shrink: 0;
  z-index: 1001;
}

.nav-logo-svg {
  height: clamp(52px, 7vw, 76px);
  width: auto;
}
.nav-logo-svg .logo-y { fill: var(--white); transition: fill var(--transition); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}
.nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-400);
  transition: width var(--transition);
}
.nav-menu a:not(.nav-cta):hover::after { width: 100%; }
.nav-menu a:hover { color: var(--white); }
.header.scrolled .nav-menu a:hover,
.header-light .nav-menu a:hover { color: var(--blue-600); }
.nav-menu a.active { color: var(--sky-400) !important; font-weight: 600; }
.header.scrolled .nav-menu a.active,
.header-light .nav-menu a.active { color: var(--blue-600) !important; }
.header-light .nav-menu a { color: var(--gray-800); }
.header-light .nav-logo-svg .logo-y { fill: var(--navy-900); }
.header-light .nav-logo-svg .logo-tagline { fill: var(--navy-700); }
.header-light .nav-logo-svg .logo-divider { color: var(--gray-400); }
.header-light .nav-toggle span { background: var(--navy-900); }
.header-light { background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); }
.header-dark:not(.scrolled) { background: transparent; }

.nav-cta {
  background: var(--gradient-brand) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45); }
.nav-cta::after { display: none !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5); }
.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-chevron {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 55%;
  transform: skewX(-12deg);
  animation: chevronPulse 8s ease-in-out infinite;
}
.hero-chevron-1 {
  right: -8%;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  opacity: 0.9;
  animation-delay: 0s;
}
.hero-chevron-2 {
  right: 10%;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  opacity: 0.6;
  animation-delay: -2s;
}
.hero-chevron-3 {
  right: 24%;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-300));
  opacity: 0.3;
  animation-delay: -4s;
}

@keyframes chevronPulse {
  0%, 100% { transform: skewX(-12deg) translateX(0); }
  50% { transform: skewX(-12deg) translateX(-20px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: calc(var(--header-h) + 1.5rem) 3rem;
}

.hero-copy {
  max-width: none;
  padding-right: clamp(0rem, 2vw, 2rem);
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 99px;
  color: var(--sky-400);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 52rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 320px;
}

.stat {
  text-align: left;
  padding: 1.25rem 0;
}
.stat:first-child { padding-top: 0; }
.stat:last-child { padding-bottom: 0; }

.stat-number, .stat-text {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-plus { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 900; color: var(--sky-400); }
.stat-label {
  display: block;
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}
.stat-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  position: relative;
}
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--sky-400);
  border-radius: 99px;
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ---- Sections ---- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}
.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.section-header-center { text-align: center; justify-content: center; flex-direction: column; align-items: center; }
.section-header h2 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  flex: 1;
  min-width: min(100%, 280px);
}
.section-desc { color: var(--gray-600); margin-top: 0.75rem; font-size: clamp(1rem, 1.5vw, 1.1rem); max-width: 56rem; }
.section-header-center .section-desc { margin-inline: auto; }

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

/* ---- About ---- */
.about { background: var(--gray-50); padding: 0; }

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(420px, 55vh, 620px);
}
.about-showcase-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
.about-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(320px, 50vh, 620px);
  display: block;
}
.about-showcase-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(248,250,252,0.15) 100%);
}
.about-showcase-body {
  background: var(--gray-50);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}
.about-showcase-body h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.about-showcase-body .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.about-showcase-body p {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
}
.about-showcase-body strong { color: var(--navy-700); }

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.about-text .lead {
  font-size: 1.15rem;
  color: var(--navy-800);
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.about-text p { color: var(--gray-600); margin-bottom: 1rem; }
.about-text strong { color: var(--navy-700); }

.about-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.vision-mission-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--blue-600);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vision-mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vm-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue-600);
}
.vm-icon svg { width: 24px; height: 24px; }
.vision-mission-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem; }
.vision-mission-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  position: relative;
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon { background: var(--blue-600); color: var(--white); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.75rem; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; }

/* ---- Products ---- */
.products { background: var(--navy-900); }
.products .section-tag { color: var(--sky-400); }
.products .section-header h2 { color: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
  overflow: hidden;
}
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-800);
}
.product-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.15) 0%, rgba(15, 23, 41, 0.7) 100%);
  z-index: 1;
}
.product-icon-img {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition);
}
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card:hover .product-bg-img { transform: scale(1.08); }
.product-card:hover .product-icon-img { transform: scale(1.12) translateY(-4px); }
.product-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--sky-400);
  box-shadow: var(--shadow-glow);
}
.product-card h3 { color: var(--white); font-size: clamp(0.85rem, 1.2vw, 1rem); font-weight: 600; line-height: 1.3; }

/* ---- Why Us ---- */
.why-us { position: relative; overflow: hidden; }
.why-us-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.why-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.why-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon-wrap {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.why-icon-img {
  width: 40px;
  height: 40px;
  transition: transform var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.15));
  transform: scale(1.05);
}
.why-card:hover .why-icon-img { transform: scale(1.1); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem; }
.why-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ---- Values ---- */
.values { background: var(--gray-50); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.value-card:hover {
  border-bottom-color: var(--blue-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.value-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem; }
.value-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--navy-900);
  padding: 4rem 0;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-chevron {
  position: absolute;
  right: -10%;
  top: -50%;
  bottom: -50%;
  width: 40%;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  opacity: 0.15;
  transform: skewX(-12deg);
}
.cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-text p { color: rgba(255,255,255,0.6); }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: var(--gray-50);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--blue-600); box-shadow: var(--shadow-md); }
.contact-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); }
.contact-role { display: block; font-size: 0.85rem; color: var(--blue-600); font-weight: 600; margin-bottom: 1rem; }
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.contact-details svg { width: 18px; height: 18px; color: var(--blue-600); flex-shrink: 0; }
.contact-details a { color: var(--gray-600); font-size: 0.95rem; transition: color var(--transition); }
.contact-details a:hover { color: var(--blue-600); }
.contact-card-address { text-align: center; }
.contact-icon-lg {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--blue-600);
}
.contact-icon-lg svg { width: 28px; height: 28px; }
.contact-card-address p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy-900); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font: inherit;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--gray-50);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Footer ---- */
.footer {
  position: relative;
  background: var(--navy-950);
  padding: 3rem 0 2rem;
  overflow: hidden;
}
.footer-chevron {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  opacity: 0.2;
  transform: skewX(-12deg);
}
.footer-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo { height: clamp(44px, 6vw, 56px); width: auto; margin: 0 auto 0.5rem; }
.footer-logo .logo-y { fill: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--sky-400); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ---- Page Transitions ---- */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.page-transition.active { transform: scaleY(1); transform-origin: top; }
body.page { opacity: 0; animation: pageEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards; }
body.page-exiting { animation: pageExit 0.35s ease forwards; }
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pageExit {
  to { opacity: 0; transform: translateY(-12px); }
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  min-height: clamp(320px, 45vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--header-h);
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 41, 0.92) 0%, rgba(15, 23, 41, 0.65) 45%, rgba(37, 99, 235, 0.35) 100%);
}
.page-hero-dark .page-hero-overlay {
  background: linear-gradient(105deg, rgba(15, 23, 41, 0.94) 0%, rgba(15, 23, 41, 0.75) 50%, rgba(15, 23, 41, 0.5) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  max-width: none;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.6fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 2rem);
}
.page-hero-main { max-width: 900px; }
.page-hero-aside {
  display: none;
}
@media (min-width: 900px) {
  .page-hero-aside {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    text-align: right;
  }
  .page-hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
  }
  .page-hero-stat span { display: block; font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
}
.page-hero-content .section-tag { color: var(--sky-400); }
.page-hero-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ---- Home sections ---- */
.home-intro { background: var(--white); padding: 0; }

.home-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: clamp(400px, 50vh, 560px);
}
.home-intro-split-media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.home-intro-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: clamp(300px, 45vh, 560px);
  display: block;
}
.home-intro-split-body {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.home-intro-split-body::before {
  content: '';
  position: absolute;
  right: -20%;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  opacity: 0.12;
  transform: skewX(-12deg);
}
.home-intro-split-body .section-tag { color: var(--sky-400); position: relative; }
.home-intro-split-body h2 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
}
.home-intro-split-body p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  max-width: 36rem;
  position: relative;
}
.home-intro-split-body .btn { position: relative; align-self: flex-start; }
.home-intro-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--gradient-brand);
  color: var(--white);
  padding: 0.65rem 1.35rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.home-intro-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.home-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}
.home-intro-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.home-intro-copy p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.products-preview {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.products-preview::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -30%;
  bottom: -30%;
  width: 35%;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  opacity: 0.08;
  transform: skewX(-12deg);
  pointer-events: none;
}
.products-preview .section-tag { color: var(--sky-400); }
.products-preview .section-header h2 { color: var(--white); }
.products-preview .section-desc { color: rgba(255,255,255,0.6); }

.why-preview { background: var(--white); }
.why-grid-compact { grid-template-columns: repeat(3, 1fr); }

.section-cta { text-align: center; margin-top: 2.5rem; }

.btn-outline-dark {
  border: 2px solid var(--blue-600);
  color: var(--blue-600);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
}
.products-preview .btn-outline-dark {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.products-preview .btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ---- About feature image ---- */
.about-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}
.about-feature-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ---- Service cards with media ---- */
.services-grid-featured { grid-template-columns: 1fr; gap: clamp(1.25rem, 2vw, 2rem); }
.service-card-media {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}
.service-media {
  min-height: 260px;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card-media:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 2rem 2.5rem; }
.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--blue-600);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.service-link:hover { color: var(--navy-700); }

/* ---- Process steps ---- */
.process-section { background: var(--gray-50); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.process-step {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--blue-600);
}
.process-num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: var(--white);
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 0.5rem; }
.process-step p { color: var(--gray-600); font-size: 0.95rem; }

/* ---- Product detail page ---- */
.products-detail-grid { display: flex; flex-direction: column; gap: clamp(1.25rem, 2vw, 1.75rem); }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.product-detail:hover {
  border-color: var(--sky-400);
  box-shadow: var(--shadow-glow);
}
.product-detail:nth-child(even) { direction: rtl; }
.product-detail:nth-child(even) .product-detail-body { direction: ltr; }
.product-detail-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}
.product-detail-media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  display: block;
  transition: transform 0.5s ease;
}
.product-detail:hover .product-detail-media > img:first-child { transform: scale(1.05); }
.product-detail-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,41,0.3), rgba(15,23,41,0.6));
}
.product-detail-icon {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 64px;
  height: 64px;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.product-detail-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-detail-body h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.product-detail-body p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.product-detail-body .btn { align-self: flex-start; }

.contact-card-map {
  padding: 0;
  overflow: hidden;
}
.contact-card-map img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.page-inner main { min-height: 50vh; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.5rem;
    padding-block: calc(var(--header-h) + 1.5rem) 3rem;
  }
  .hero-stats {
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .stat {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0.5rem;
  }
  .stat-divider {
    width: 1px;
    height: 48px;
    flex-shrink: 0;
  }
}

@media (max-width: 1024px) {
  .services-grid, .why-grid, .why-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .home-intro-grid { grid-template-columns: 1fr; }
  .service-card-media { grid-template-columns: 1fr; }
  .service-media { min-height: 220px; }
  .process-grid { grid-template-columns: 1fr; }
  .product-detail, .product-detail:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .nav-menu { gap: 1.25rem; }
  .nav-menu a { font-size: 0.85rem; }
}

@media (max-width: 768px) {
  :root {
    --edge-pad: 1.25rem;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem var(--container-pad) 2rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    color: var(--gray-800) !important;
    font-size: 1.05rem;
    display: block;
    padding: 0.85rem 0;
    min-height: 44px;
  }
  .nav-menu .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem !important;
  }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .header .nav-logo-svg .logo-y { fill: var(--navy-900); }
  .header .nav-logo-svg .logo-tagline { fill: var(--navy-700); }
  .header .nav-logo-svg .logo-divider { color: var(--gray-400); }
  .header {
    background: rgba(15, 23, 41, 0.85);
    backdrop-filter: blur(16px);
  }
  .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .about-showcase,
  .home-intro-split { grid-template-columns: 1fr; }
  .about-showcase-media img,
  .home-intro-split-media img { min-height: 280px; }
  .vm-grid { grid-template-columns: 1fr; }
  .page-hero-content { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-subtitle { max-width: none; }
  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }
  .stat { text-align: center; padding: 1rem 0; }
  .stat-divider { width: 100%; height: 1px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .services-grid, .why-grid, .why-grid-compact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero-scroll { display: none; }
  .btn { min-height: 48px; padding-inline: 1.5rem; }
  .contact-form { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .nav-logo-svg { height: 48px; }

  .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { font-size: 0.7rem; letter-spacing: 0.03em; }
  .nav-menu a { font-size: 1rem; }
}

@media (min-width: 769px) {
  .header:not(.scrolled) .nav-toggle span { background: var(--white); }
}

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