/* ============================================================
   GLOBALSPICETECH SOLUTIONS PVT. LTD. — Global Styles
   Professional Corporate Edition
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Palette */
  --clr-gold:         #C9A84C;
  --clr-gold-light:   #E2C47A;
  --clr-gold-dark:    #9A7A2E;
  --clr-orange:       #E07220;
  --clr-emerald:      #1A6B4A;
  --clr-emerald-light:#2D9E70;

  /* Backgrounds */
  --clr-bg-deepest:   #060910;
  --clr-bg-deep:      #0A0F1C;
  --clr-bg:           #0E1525;
  --clr-bg-raised:    #13203A;
  --clr-bg-card:      #182236;

  /* Legacy variable aliases (used in inline styles) */
  --clr-darker:       #0A0F1C;
  --clr-glass-bg:     rgba(24, 34, 54, 0.65);
  --clr-glass-border: rgba(160, 176, 200, 0.12);
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3.5rem;
  --space-2xl: 6rem;
  --clr-saffron:      #E07220;
  --clr-brown:        #060910;
  --transition-fast:  120ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  500ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slower:800ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Text */
  --clr-text:         #E4EAF4;
  --clr-text-secondary: #A0B0C8;
  --clr-text-muted:   #667A92;
  --clr-text-inverse: #05080F;

  /* Borders */
  --clr-border:       rgba(160, 176, 200, 0.10);
  --clr-border-hover: rgba(201, 168, 76, 0.30);
  --clr-border-focus: rgba(201, 168, 76, 0.60);

  /* Glass */
  --clr-glass-bg:     rgba(20, 29, 46, 0.60);

  /* Typography */
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Fluid Type Scale */
  --fs-2xs:  clamp(0.65rem,  1vw,   0.75rem);
  --fs-xs:   clamp(0.75rem,  1.5vw, 0.8125rem);
  --fs-sm:   clamp(0.875rem, 2vw,   0.9375rem);
  --fs-base: clamp(0.9375rem,2.5vw, 1rem);
  --fs-md:   clamp(1rem,     2.5vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 3vw,   1.25rem);
  --fs-xl:   clamp(1.25rem,  3.5vw, 1.5rem);
  --fs-2xl:  clamp(1.5rem,   4vw,   2rem);
  --fs-3xl:  clamp(2rem,     5.5vw, 3rem);
  --fs-4xl:  clamp(2.75rem,  7vw,   4.5rem);
  --fs-5xl:  clamp(3.5rem,   9vw,   6rem);

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

  /* Border Radius */
  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.5);
  --shadow-xl:      0 16px 48px rgba(0,0,0,0.6);
  --shadow-gold:    0 0 24px rgba(201, 168, 76, 0.18);
  --shadow-gold-lg: 0 0 48px rgba(201, 168, 76, 0.22);

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    120ms var(--ease);
  --t-base:    260ms var(--ease);
  --t-slow:    500ms var(--ease-out);
  --t-slower:  800ms var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  background-color: var(--clr-bg-deep);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

img        { max-width: 100%; display: block; }
a          { color: inherit; text-decoration: none; }
ul, ol     { list-style: none; }
button     { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; background: none; }
fieldset   { border: none; }
b, strong  { font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.container--narrow { max-width: 900px; }
.container--wide   { max-width: 1440px; }

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

.section--sm {
  padding-block: clamp(var(--sp-10), 5vw, var(--sp-20));
}

.canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.display-heading {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--clr-gold);
  flex-shrink: 0;
}

/* Legacy compat */
.section-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--clr-gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.section-title .accent {
  color: var(--clr-gold);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.75;
  max-width: 58ch;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sp-4) 0;
  transition: background var(--t-base), padding var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(6,9,16,0.80) 0%, rgba(6,9,16,0.40) 70%, transparent 100%);
}

.navbar.scrolled {
  background: rgba(10, 15, 28, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: var(--sp-3) 0;
  border-bottom-color: var(--clr-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  border-radius: 6px;
  background: #fff;
  padding: 3px 5px;
  transition: opacity var(--t-fast);
}

.nav-logo:hover .nav-logo-img { opacity: 0.88; }

.nav-logo .brand-sub {
  font-family: var(--ff-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  max-width: 80px;
  line-height: 1.4;
}

/* Keep legacy text-logo classes working if still referenced */
.nav-logo .brand-main {
  font-family: var(--ff-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  transition: color var(--t-fast);
}
.nav-logo .brand-main span { color: var(--clr-gold); }
.nav-logo:hover .brand-main { color: var(--clr-gold); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-secondary);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta { margin-left: var(--sp-4); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-2);
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text-secondary);
  border-radius: 1px;
  transition: all var(--t-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--clr-text); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--clr-text); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  padding: var(--sp-24) var(--sp-6) var(--sp-8);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--clr-text-muted);
  transition: color var(--t-base);
  letter-spacing: -0.02em;
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--clr-gold); }

.mobile-nav .mobile-nav-cta {
  margin-top: var(--sp-4);
  font-family: var(--ff-body);
  font-size: var(--fs-sm) !important;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.85em 2.4em;
  color: var(--clr-bg-deepest) !important;
  background: var(--clr-gold) !important;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.78em 1.9em;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--t-base);
  position: relative;
  cursor: pointer;
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-bg-deepest);
  border: 1px solid var(--clr-gold);
}

.btn-primary:hover {
  background: var(--clr-gold-light);
  border-color: var(--clr-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text-secondary);
  border: 1px solid var(--clr-border);
}

.btn-outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-gold);
  border: 1px solid transparent;
  padding-inline: var(--sp-2);
}

.btn-ghost:hover {
  border-color: var(--clr-border-hover);
  background: rgba(201, 168, 76, 0.06);
}

/* ---------- Cards ---------- */
.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}

.card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: translateY(-3px);
}

/* Legacy compat */
.glass-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}

.glass-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  transform: translateY(-3px);
}

/* ---------- Badges / Tags ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25em 0.65em;
  border-radius: var(--radius-xs);
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-gold {
  background: rgba(201, 168, 76, 0.10);
  color: var(--clr-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.20);
}

.badge-saffron {
  background: rgba(160, 176, 200, 0.06);
  color: var(--clr-text-secondary);
  border: 1px solid var(--clr-border);
}

.badge-green {
  background: rgba(26, 107, 74, 0.15);
  color: #4DB88A;
  border: 1px solid rgba(26, 107, 74, 0.30);
}

/* ---------- Stat Card ---------- */
.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin-block: var(--sp-16);
}

/* ---------- Product Card Images ---------- */
.product-card-img-wrap {
  overflow: hidden;
  position: relative;
  background: var(--clr-bg);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
  filter: saturate(0.85) brightness(0.92);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
  filter: saturate(1) brightness(0.96);
}

/* Category card background photo */
.category-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transition: opacity var(--t-slow), transform var(--t-slower), filter var(--t-slow);
  filter: grayscale(25%) brightness(0.58) saturate(1.2);
  pointer-events: none;
  z-index: 1;
}

.category-card:hover .category-card-img {
  opacity: 0.40;
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.64) saturate(1.3);
}

/* Team avatar photo */
.team-avatar {
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: filter var(--t-base);
}

.team-card:hover .team-avatar img { filter: grayscale(0%); }

/* Origin location label */
.product-card-origin::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-gold);
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Product Card ---------- */
.product-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  position: relative;
  transform-style: preserve-3d;
}

.product-card:hover {
  border-color: var(--clr-border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.product-card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.product-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--clr-bg-card) 100%);
}

.product-card-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 2;
}

.product-card-body {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
}

.product-card-name {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-1);
}

.product-card-origin {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-3);
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: var(--sp-3);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}

/* ---------- Footer Logo ---------- */
.footer-logo-img {
  height: 58px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  margin-bottom: var(--sp-5);
  transition: opacity var(--t-fast);
}

.footer-logo-img:hover { opacity: 0.88; }

/* ---------- Services Strip (inner pages) ---------- */
.services-strip {
  background: var(--clr-bg-deepest);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--sp-4) 0;
  position: sticky;
  top: 68px;
  z-index: 90;
}

.services-strip .container {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-strip .container::-webkit-scrollbar { display: none; }

.service-strip-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.45em 1.1em;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  white-space: nowrap;
  transition: all var(--t-fast);
}

.service-strip-item:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.service-strip-item.active {
  background: rgba(201, 168, 76, 0.10);
  border-color: rgba(201, 168, 76, 0.40);
  color: var(--clr-gold);
}

.service-strip-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: nowrap;
}

.service-strip-cta {
  margin-left: auto;
  color: var(--clr-gold);
  border-color: rgba(201, 168, 76, 0.30);
  background: rgba(201, 168, 76, 0.06);
}

.service-strip-cta:hover {
  background: rgba(201, 168, 76, 0.14);
  border-color: var(--clr-gold);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--clr-bg-deepest);
  border-top: 1px solid var(--clr-border);
  padding-top: clamp(var(--sp-16), 6vw, var(--sp-24));
  padding-bottom: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-16);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: var(--sp-8);
}

.footer-brand .brand-main {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: var(--sp-4);
}

.footer-brand .brand-main span { color: var(--clr-gold); }

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.75;
  max-width: 34ch;
  margin-bottom: var(--sp-4);
}

.footer-brand .cin {
  font-family: var(--ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(102, 122, 146, 0.5);
}

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}

.footer-col a:hover { color: var(--clr-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-2xs);
  color: rgba(102, 122, 146, 0.6);
  letter-spacing: 0.03em;
}

.social-links {
  display: flex;
  gap: var(--sp-3);
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  transition: all var(--t-base);
}

.social-links a:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-1px);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(var(--sp-16), 6vw, var(--sp-24));
}

.page-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 12, 24, 0.4)  0%,
    rgba(8, 12, 24, 0.65) 50%,
    var(--clr-bg-deep)    100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

/* ---------- Purity Bar ---------- */
.purity-bar-wrap {
  margin-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.purity-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
}

.purity-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.purity-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--clr-gold-dark), var(--clr-gold-light));
  transition: width 1.4s var(--ease-out);
  width: 0;
}

.purity-fill.animated { width: var(--purity); }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--t-base);
  z-index: 900;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-2px);
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
}

.filter-bar label {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  white-space: nowrap;
}

.filter-tabs {
  display: flex;
  gap: var(--sp-2);
}

.filter-tab {
  padding: 0.35em 0.85em;
  border-radius: var(--radius-xs);
  border: 1px solid var(--clr-border);
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  background: transparent;
}

.filter-tab.active,
.filter-tab:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(201, 168, 76, 0.06);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xs);
  padding: 0.35em 2rem 0.35em 0.75em;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-text-secondary);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23667A92' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  transition: border-color var(--t-fast);
}

.filter-select:focus {
  outline: none;
  border-color: var(--clr-gold);
}

/* ---------- Certs Strip ---------- */
.certs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
}

.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: all var(--t-base);
}

.cert-pill .cert-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--clr-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.cert-pill:hover {
  border-color: var(--clr-border-hover);
  color: var(--clr-text-secondary);
  transform: translateY(-1px);
}

/* ---------- Grid Utilities ---------- */
.grid   { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Form Elements ---------- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.10);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(102, 122, 146, 0.4);
}

.form-textarea { resize: vertical; min-height: 88px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

.quote-form { display: flex; flex-direction: column; gap: var(--sp-4); }

/* ---------- Utility Classes ---------- */
.text-center    { text-align: center; }
.text-gold      { color: var(--clr-gold); }
.text-muted     { color: var(--clr-text-muted); }
.text-secondary { color: var(--clr-text-secondary); }
.text-mono      { font-family: var(--ff-mono); }
.text-display   { font-family: var(--ff-display); }

.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-16 { margin-top: var(--sp-16); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-16 { margin-bottom: var(--sp-16); }

/* Aliases for legacy HTML */
.mt-sm { margin-top: var(--sp-4); }
.mt-md { margin-top: var(--sp-6); }
.mt-lg { margin-top: var(--sp-8); }
.mt-xl { margin-top: var(--sp-16); }
.mb-sm { margin-bottom: var(--sp-4); }
.mb-md { margin-bottom: var(--sp-6); }
.mb-lg { margin-bottom: var(--sp-8); }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm      { gap: var(--sp-4); }
.gap-md      { gap: var(--sp-6); }
.d-none      { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
