/* ═══════════════════════════════════════════════════════════════
   YONG SENG SCREWS — Design System
   Direction: Raw & Industrial
   Palette: Forged Steel (dark charcoal + steel blue)
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Color Palette — Forged Steel */
  --steel-950: hsl(215, 28%, 5%);
  --steel-900: hsl(215, 25%, 8%);
  --steel-850: hsl(215, 22%, 10%);
  --steel-800: hsl(215, 20%, 13%);
  --steel-750: hsl(215, 19%, 16%);
  --steel-700: hsl(215, 18%, 20%);
  --steel-600: hsl(215, 16%, 30%);
  --steel-500: hsl(215, 15%, 40%);
  --steel-400: hsl(215, 14%, 55%);
  --steel-300: hsl(215, 13%, 68%);
  --steel-200: hsl(215, 12%, 80%);
  --steel-100: hsl(215, 10%, 90%);
  --steel-50:  hsl(215, 8%, 96%);

  /* Accent — Steel Blue */
  --accent-600: hsl(205, 90%, 38%);
  --accent-500: hsl(205, 85%, 50%);
  --accent-400: hsl(205, 80%, 60%);
  --accent-300: hsl(205, 70%, 72%);

  /* Warm Accent — Amber */
  --amber-500: hsl(38, 92%, 55%);
  --amber-400: hsl(38, 88%, 65%);

  /* Semantic */
  --success: hsl(152, 68%, 42%);
  --error:   hsl(0, 78%, 58%);

  /* Typography */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'Roboto Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs:   clamp(0.7rem, 0.65vw, 0.75rem);
  --text-sm:   clamp(0.813rem, 0.8vw, 0.875rem);
  --text-base: clamp(0.938rem, 0.9vw, 1rem);
  --text-lg:   clamp(1.063rem, 1.1vw, 1.188rem);
  --text-xl:   clamp(1.25rem, 1.3vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.8vw, 1.875rem);
  --text-3xl:  clamp(1.875rem, 2.5vw, 2.375rem);
  --text-4xl:  clamp(2.25rem, 3.2vw, 3rem);
  --text-5xl:  clamp(2.75rem, 4vw, 3.75rem);
  --text-6xl:  clamp(3.25rem, 5vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-padding: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1240px;

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Shadows */
  --shadow-sm:  0 1px 3px hsla(215, 30%, 4%, 0.4);
  --shadow-md:  0 4px 12px hsla(215, 30%, 4%, 0.5);
  --shadow-lg:  0 12px 28px hsla(215, 30%, 4%, 0.6);
  --shadow-xl:  0 20px 40px hsla(215, 30%, 4%, 0.7);
  --shadow-glow: 0 0 30px hsla(205, 85%, 50%, 0.2);

  /* Transitions */
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-norm:   250ms;
  --dur-slow:   400ms;
  --dur-slower: 600ms;

  /* Z-Index */
  --z-behind:  -1;
  --z-base:     0;
  --z-raised:   1;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-max:    9999;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; max-width: 100vw; }
body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; word-break: break-word; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; }

/* ── Base Styles ── */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--steel-300);
  background-color: var(--steel-950);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--steel-50);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 62ch; }

::selection {
  background-color: hsla(205, 85%, 50%, 0.3);
  color: var(--steel-50);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--alt {
  background: var(--steel-900);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.section__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-500);
}

.section__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--steel-400);
  margin: 0 auto;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-5) 0;
  transition: all var(--dur-norm) var(--ease-out);
}

.nav.scrolled {
  padding: var(--space-3) 0;
  background: hsla(215, 28%, 5%, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--steel-800);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--steel-50);
  letter-spacing: -0.01em;
  position: relative;
  z-index: calc(var(--z-sticky) + 10);
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  fill: var(--accent-500);
}

.nav__logo span {
  color: var(--accent-400);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--steel-300);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  transition: width var(--dur-norm) var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--steel-50);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-4);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  position: relative;
  z-index: calc(var(--z-sticky) + 10);
}

.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--steel-200);
  border-radius: 2px;
  transition: all var(--dur-norm) var(--ease-out);
}

.nav__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: hsla(215, 28%, 5%, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: calc(var(--z-sticky) - 1);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--steel-200);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav__mobile a:hover {
  color: var(--accent-400);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--dur-norm) var(--ease-out);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent-500);
  color: hsl(0, 0%, 100%);
  box-shadow: 0 2px 8px hsla(205, 85%, 50%, 0.3),
              inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.btn--primary:hover {
  background: var(--accent-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(205, 85%, 50%, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--steel-100);
  border: 1px solid var(--steel-600);
}

.btn--secondary:hover {
  background: var(--steel-800);
  border-color: var(--steel-500);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--accent-400);
  padding: var(--space-2) var(--space-4);
}

.btn--ghost:hover {
  background: hsla(205, 85%, 50%, 0.08);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

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

.hero__badge-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 10px 24px;
  border: 1px solid var(--steel-700);
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
}

.hero__badge-text {
  color: var(--steel-100);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  white-space: normal;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    hsla(215, 28%, 5%, 0.85) 0%,
    hsla(215, 25%, 8%, 0.6) 50%,
    hsla(215, 25%, 8%, 0.75) 100%
  );
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding-top: var(--space-24);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: hsla(205, 85%, 50%, 0.1);
  border: 1px solid hsla(205, 85%, 50%, 0.2);
  border-radius: var(--radius-2xl);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent-400);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.hero__badge svg {
  width: 14px;
  height: 14px;
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--steel-50);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: normal;
  color: var(--accent-400);
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--steel-400);
  line-height: 1.55;
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── Stats Bar ── */
.stats {
  background: var(--steel-900);
  border-top: 1px solid var(--steel-800);
  border-bottom: 1px solid var(--steel-800);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--accent-400);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── Product/Category Cards ── */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.category-card {
  position: relative;
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--dur-norm) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  border-color: var(--accent-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.category-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.category-card:hover .category-card__image {
  transform: scale(1.05);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsla(215, 28%, 5%, 0.9) 0%,
    hsla(215, 28%, 5%, 0.1) 60%
  );
  z-index: 1;
}

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
}

.category-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--steel-50);
  margin-bottom: var(--space-1);
}

.category-card__count {
  font-size: var(--text-sm);
  color: var(--steel-400);
}

.category-card__arrow {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
  width: 36px;
  height: 36px;
  background: hsla(215, 28%, 5%, 0.5);
  border: 1px solid var(--steel-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all var(--dur-norm) var(--ease-out);
}

.category-card__arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-400);
}

.category-card:hover .category-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Feature Cards ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--dur-norm) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-300));
  opacity: 0;
  transition: opacity var(--dur-norm) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--steel-600);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: hsla(205, 85%, 50%, 0.1);
  border: 1px solid hsla(205, 85%, 50%, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-400);
  fill: none;
  stroke-width: 1.5;
}

.feature-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--steel-400);
  line-height: 1.7;
}

/* ── Branch / Location Cards ── */
.branches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.branch-card {
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--dur-norm) var(--ease-out);
}

.branch-card:hover {
  border-color: var(--steel-600);
  box-shadow: var(--shadow-lg);
}

.branch-card__map {
  width: 100%;
  height: 200px;
  border: none;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
  transition: filter var(--dur-norm) var(--ease-out);
}

.branch-card:hover .branch-card__map {
  filter: grayscale(0.2) brightness(0.85) contrast(1.05);
}

.branch-card__body {
  padding: var(--space-6);
}

.branch-card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--steel-50);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.branch-card__name svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-400);
  fill: none;
}

.branch-card__detail {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--steel-400);
  line-height: 1.6;
}

.branch-card__detail svg {
  width: 16px;
  height: 16px;
  stroke: var(--steel-500);
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.branch-card__detail a {
  color: var(--accent-400);
  transition: color var(--dur-fast) var(--ease-out);
}

.branch-card__detail a:hover {
  color: var(--accent-300);
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--steel-900) 0%,
    hsl(215, 22%, 11%) 50%,
    var(--steel-900) 100%
  );
  border-top: 1px solid var(--steel-800);
  text-align: center;
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.cta-section__desc {
  font-size: var(--text-lg);
  color: var(--steel-400);
  margin: 0 auto var(--space-8);
}

.cta-section__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  background: var(--steel-950);
  border-top: 1px solid var(--steel-800);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--steel-400);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--steel-200);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.footer__link {
  display: block;
  padding: var(--space-1) 0;
  font-size: var(--text-sm);
  color: var(--steel-400);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--accent-400);
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--steel-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--steel-500);
}

/* ── Floating WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-overlay);
  width: 56px;
  height: 56px;
  background: hsl(142, 70%, 42%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px hsla(142, 70%, 42%, 0.4);
  transition: all var(--dur-norm) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px hsla(142, 70%, 42%, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--steel-200);
}

.form-input,
.form-textarea,
.form-select {
  padding: var(--space-3) var(--space-4);
  background: var(--steel-800);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-lg);
  color: var(--steel-100);
  font-size: var(--text-base);
  transition: all var(--dur-fast) var(--ease-out);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px hsla(205, 85%, 50%, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--steel-500);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* ── Form Layout ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form-grid--full {
  grid-column: 1 / -1;
}

/* ── Enquiry Layout ── */
.enquiry-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.enquiry-sidebar {
  background: var(--steel-850);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.enquiry-sidebar__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.enquiry-sidebar__item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--steel-300);
}

.enquiry-sidebar__item svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-400);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.enquiry-sidebar__item strong {
  color: var(--steel-100);
  display: block;
  margin-bottom: var(--space-1);
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-500), var(--steel-700));
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-10);
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-12) + 6px);
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--steel-900);
  border: 2px solid var(--accent-500);
  border-radius: 50%;
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent-400);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--steel-100);
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--steel-400);
  line-height: 1.7;
}

/* ── Page Header (Inner pages) ── */
.page-header {
  padding: calc(var(--space-24) + 60px) 0 var(--space-16);
  background: var(--steel-900);
  border-bottom: 1px solid var(--steel-800);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.page-header__content {
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--accent-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.page-header__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.page-header__desc {
  font-size: var(--text-lg);
  color: var(--steel-400);
  max-width: 550px;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--dur-slower) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* Hero content entrance */
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__actions {
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge   { animation-delay: 0.2s; }
.hero__title   { animation-delay: 0.4s; }
.hero__subtitle { animation-delay: 0.6s; }
.hero__actions { animation-delay: 0.8s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .categories__grid,
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branches__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .enquiry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__content {
    padding-top: var(--space-16);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stats__grid,
  .categories__grid,
  .features__grid,
  .branches__grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }

  .page-header__title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__badge-container {
    padding: 6px 12px;
    gap: 8px;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .hero__badge-text {
    font-size: 0.7rem;
    letter-spacing: 1px;
    white-space: normal;
  }

  .stat__number {
    font-size: var(--text-2xl);
  }

  .section__title {
    font-size: var(--text-2xl);
  }
}

/* ── Utility ── */
.text-accent { color: var(--accent-400); }
.text-muted  { color: var(--steel-400); }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-8  { margin-bottom: var(--space-8); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
