/* ============================================
   AAYASKAR ENGINEERING — Main Stylesheet v2.0
   Custom Theme | Visual Upgrade
   ============================================ */

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

:root {
  /* Brand Palette */
  --navy:           #1B2A4A;
  --navy-light:     #2C4270;
  --navy-deep:      #111D33;
  --navy-90:        rgba(27,42,74,0.90);
  --gold:           #C9950C;
  --gold-light:     #E0B84A;
  --gold-dark:      #A67B0A;
  --gold-glow:      rgba(201,149,12,0.15);
  --steel:          #8C9BAA;
  --steel-light:    #B8C4CF;
  --steel-dark:     #5A6B7D;
  --surface:        #F4F5F7;
  --surface-warm:   #F8F7F4;
  --white:          #FFFFFF;
  --dark:           #0D1117;
  --text:           #2D3748;
  --text-light:     #6B7A8D;
  --success:        #2E8B57;
  --border:         #E2E6EC;
  --border-light:   #EEF0F3;

  /* Typography */
  --font-heading:   'Outfit', sans-serif;
  --font-body:      'Source Sans 3', sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;

  /* Spacing Scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Layout */
  --max-width:  1200px;
  --max-wide:   1400px;
  --header-h:   80px;
  --topbar-h:   40px;

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   0.2s;
  --dur-med:    0.4s;
  --dur-slow:   0.7s;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 8px rgba(27,42,74,0.06);
  --shadow-gold: 0 4px 20px rgba(201,149,12,0.25);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p { margin-bottom: 1em; color: var(--text); }
p:last-child { margin-bottom: 0; }

.mono { font-family: var(--font-mono); font-size: 0.85em; }

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

.container--wide {
  max-width: var(--max-wide);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--navy {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Decorative grain on navy sections */
.section--navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.section--navy > .container {
  position: relative;
  z-index: 1;
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}
.section--navy p {
  color: var(--steel-light);
}

.section--surface {
  background: var(--surface);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-intro {
  max-width: 640px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-label { justify-content: center; }
.text-center .section-label::before { display: none; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 5px;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(201,149,12,0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-white {
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover svg {
  transform: translateX(3px);
}

/* --- Top Bar --- */
.topbar {
  background: var(--navy-deep);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--steel-light);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.topbar__tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

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

.topbar__contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--steel-light);
  transition: color var(--dur-fast);
}
.topbar__contact a:hover { color: var(--gold-light); }
.topbar__contact svg { width: 14px; height: 14px; opacity: 0.6; }

/* --- Header --- */
.site-header {
  background: var(--white);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--dur-med) var(--ease-out);
  border-bottom: 1px solid var(--border-light);
}

.site-header.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo img {
  height: 50px;
  width: auto;
  transition: height var(--dur-med) var(--ease-out);
}

.scrolled .site-logo img { height: 38px; }

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.main-nav a {
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--dur-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active { color: var(--navy); }

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

/* Products dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  padding: 0.6rem 0;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease-out);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

.nav-dropdown__menu a::after { display: none; }

.nav-dropdown__menu a:hover {
  background: var(--surface);
  color: var(--gold-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  z-index: 1001;
}

.menu-toggle:hover {
  background: var(--surface);
  border-color: var(--gold);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
  border-radius: 2px;
  transform-origin: center;
}

.menu-toggle.active { background: var(--navy); border-color: var(--navy); }
.menu-toggle.active span { background: var(--white); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav close button + CTA (hidden on desktop) */
.main-nav__close { display: none; }
.main-nav__cta { display: none; }

/* Nav backdrop (hidden on desktop) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 29, 51, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  pointer-events: none;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.nav-open { overflow: hidden; }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}

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

.hero__bg canvas { width: 100%; height: 100%; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,29,51,0.94) 0%, rgba(27,42,74,0.82) 50%, rgba(17,29,51,0.90) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: var(--space-3xl) 0;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  color: var(--steel-light);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

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

.hero__image {
  position: absolute;
  right: -2%;
  top: 0;
  bottom: 0;
  width: 45%;
  max-width: 560px;
  z-index: 2;
  opacity: 0.12;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to left, transparent, black 30%);
  -webkit-mask-image: linear-gradient(to left, transparent, black 30%);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================
   TRUST BAR
   ============================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-lg) 0;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-dark);
}

.trust-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__icon svg {
  width: 16px;
  height: 16px;
  color: #2E8B57;
}

/* ============================
   ABOUT SNAPSHOT
   ============================ */
.about-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-snapshot__image {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

/* FIX: No fixed height — let images show fully with aspect ratio. object-position: top to avoid cropping faces. */
.about-snapshot__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-snapshot__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(17,29,51,0.5), transparent);
  pointer-events: none;
}

.stat-badge {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.stat-badge__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}

.stat-badge__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel-light);
  margin-top: 0.3rem;
  display: block;
}

/* ============================
   PRODUCTS GRID
   ============================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
}

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

/* FIX: Use aspect-ratio instead of fixed height — no image cropping */
.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-card__image img { transform: scale(1.06); }

.product-card__body {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
  flex: 1;
}

.product-card__link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--dur-fast);
}

.product-card__link:hover {
  gap: 0.7rem;
  color: var(--gold);
}

.product-card__link svg { width: 16px; height: 16px; }

/* ============================
   WHY US GRID
   ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.why-card {
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Gold top border accent on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity var(--dur-med);
}

.why-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,149,12,0.2);
  transform: translateY(-4px);
}

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

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,149,12,0.15), rgba(201,149,12,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold-light);
}

.why-card__title {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.why-card__desc {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.65;
}

/* ============================
   PROCESS TIMELINE
   ============================ */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--gold-light), var(--border));
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border);
}

.process-step__title {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.process-step__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  max-width: 300px;
  margin: 0 auto;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,149,12,0.08), transparent 70%);
  pointer-events: none;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: var(--space-xl);
}

.cta-banner__text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 0.3rem;
}

.cta-banner__text p { color: var(--steel-light); font-size: 1rem; }

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--navy-deep);
  color: var(--steel);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
}

.footer-brand img {
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 180px;
  display: block;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--steel);
  transition: color var(--dur-fast);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  font-size: 0.88rem;
}
.footer-contact__item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact__item a {
  color: var(--steel-light);
  transition: color var(--dur-fast);
}
.footer-contact__item a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--steel-dark);
}

/* ============================
   PAGE HERO (Inner Pages)
   ============================ */
.page-hero {
  background: var(--navy-deep);
  padding: var(--space-4xl) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(201,149,12,0.04) 100%);
  pointer-events: none;
}

/* Decorative diagonal line accent */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent 60%);
}

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

.page-hero__breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--steel);
  margin-bottom: var(--space-md);
  letter-spacing: 0.03em;
}
.page-hero__breadcrumb a { color: var(--steel); transition: color var(--dur-fast); }
.page-hero__breadcrumb a:hover { color: var(--gold-light); }
.page-hero__breadcrumb span { color: var(--gold); }

.page-hero h1 { color: var(--white); margin-bottom: var(--space-md); }
.page-hero p { color: var(--steel-light); font-size: 1.05rem; max-width: 580px; }

/* ============================
   PRODUCT DETAIL
   ============================ */
.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.product-overview__image {
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* FIX: Let images breathe — no fixed height crop */
.product-overview__image img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* ============================
   SPEC TABLES — Centered & Polished
   ============================ */
.spec-table-wrap {
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table-wrap:last-child { margin-bottom: 0; }

.spec-table-wrap h3 {
  margin-bottom: var(--space-lg);
  font-size: 1.15rem;
  text-align: center;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.spec-table th,
.spec-table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
}

.spec-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--gold);
}

.spec-table td {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.spec-table tr:last-child td { border-bottom: none; }

.spec-table tbody tr:hover td {
  background: var(--surface-warm);
}

/* Alternate row striping */
.spec-table tbody tr:nth-child(even) td {
  background: var(--surface);
}
.spec-table tbody tr:nth-child(even):hover td {
  background: var(--surface-warm);
}

/* --- Spec List --- */
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.spec-list__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}
.spec-list__item strong {
  font-weight: 600;
  color: var(--navy);
  min-width: 140px;
}

/* ============================
   FEATURES LIST
   ============================ */
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
  max-width: 900px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  font-size: 0.92rem;
  color: var(--text);
}

.features-list li svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================
   APPLICATIONS GRID
   ============================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.application-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--space-lg) var(--space-xl);
  background: var(--white);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all var(--dur-fast) var(--ease-out);
}

.application-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.application-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ============================
   QUALITY CARDS
   ============================ */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.quality-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--dur-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.quality-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--dur-med);
}

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

.quality-card:hover::after { opacity: 1; }

/* FIX: Quality images — proper circle crop with aspect-ratio */
.quality-card__image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  background: var(--surface);
  border: 3px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quality-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-card__title { font-size: 0.95rem; margin-bottom: var(--space-xs); }
.quality-card__desc { font-size: 0.84rem; color: var(--text-light); line-height: 1.6; }

/* --- Values Strip (Navy section) --- */
.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  transition: all var(--dur-fast);
}

.value-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,149,12,0.2);
}

.value-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.value-item__icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}
.value-item p { font-size: 0.88rem; color: var(--steel-light); line-height: 1.5; }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--surface), var(--surface-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}
.contact-info__icon svg { width: 20px; height: 20px; color: var(--gold); }

.contact-info__text h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info__text p,
.contact-info__text a { font-size: 0.9rem; color: var(--text-light); }
.contact-info__text a:hover { color: var(--gold); }

.contact-map {
  margin-top: var(--space-2xl);
  border-radius: 10px;
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* ============================
   FORMS
   ============================ */
.form-group { margin-bottom: var(--space-lg); }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  transition: all var(--dur-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

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

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

/* ============================
   DIRECTORS CARDS (About page)
   ============================ */
.directors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 700px;
  margin: 0 auto;
}

.director-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--dur-med) var(--ease-out);
}

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

.director-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.director-card h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.director-card p { font-size: 0.88rem; color: var(--text-light); }

/* ============================
   CERT CARDS (About page)
   ============================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: all var(--dur-fast);
}

.cert-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.cert-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface), #e8f5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.cert-card__icon svg { width: 24px; height: 24px; color: var(--success); }
.cert-card h4 { font-size: 0.92rem; margin-bottom: 0.2rem; }
.cert-card p { font-size: 0.78rem; color: var(--text-light); }

/* ============================
   QUOTE PAGE TRUST NOTES
   ============================ */
.trust-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  text-align: center;
}

.trust-notes__item svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.trust-notes__item p { font-size: 0.85rem; color: var(--text-light); }

/* ============================
   WHATSAPP FLOAT
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--dur-fast) var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.2s; }

/* ============================
   RESPONSIVE — Tablet (1024px)
   ============================ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  .about-snapshot { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .product-overview { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================
   RESPONSIVE — Mobile (768px)
   ============================ */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --topbar-h: 0px;
  }

  .container { padding: 0 var(--space-lg); }

  .topbar { display: none; }
  .menu-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    max-width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + var(--space-lg)) var(--space-xl) var(--space-2xl);
    gap: 0;
    transform: translateX(105%);
    transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 999;
    box-shadow: -16px 0 48px rgba(17, 29, 51, 0);
  }

  .main-nav.open {
    transform: translateX(0);
    box-shadow: -16px 0 48px rgba(17, 29, 51, 0.18);
  }

  .main-nav__close {
    display: inline-flex;
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--navy);
    cursor: pointer;
    transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
  }

  .main-nav__close:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
  }

  .main-nav a {
    font-size: 1rem;
    font-weight: 600;
    min-height: 52px;
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    color: var(--navy);
    position: relative;
  }

  .main-nav a::after { display: none; }

  .main-nav > a.active,
  .nav-dropdown > a.active {
    color: var(--gold-dark);
    border-left: 3px solid var(--gold);
    padding-left: 0.75rem;
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 var(--space-md);
    min-width: auto;
    background: transparent;
  }

  .nav-dropdown__menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-light);
    min-height: 48px;
    padding: 0.75rem 0.25rem;
  }

  .main-nav__cta {
    display: inline-flex !important;
    justify-content: center;
    width: 100%;
    margin-top: var(--space-xl);
    min-height: 52px;
    font-size: 0.95rem;
    border-bottom: none !important;
    padding: 0.95rem var(--space-lg) !important;
  }

  .main-nav__cta:hover { color: var(--white); }

  .hero { min-height: 75vh; }
  .hero__image { display: none; }
  .hero__title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero__content { padding: var(--space-2xl) 0; }

  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: var(--space-xl); }
  .process-timeline::before { display: none; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .directors-grid { grid-template-columns: 1fr; max-width: 320px; }
  .trust-notes { grid-template-columns: 1fr; gap: var(--space-md); }

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .section { padding: var(--space-3xl) 0; }

  /* Tables scroll horizontally on mobile */
  .spec-table-wrap {
    margin-left: calc(var(--space-lg) * -1);
    margin-right: calc(var(--space-lg) * -1);
    padding: 0 var(--space-lg);
  }

  .spec-table { font-size: 0.82rem; }
  .spec-table th, .spec-table td { padding: 0.7rem 0.8rem; }
}

/* ============================
   RESPONSIVE — Small Mobile (480px)
   ============================ */
@media (max-width: 480px) {
  .trust-bar .container { gap: var(--space-md); }
  .trust-item { font-size: 0.6rem; gap: 0.4rem; }
  .trust-item__icon { width: 28px; height: 28px; }
  .trust-item__icon svg { width: 14px; height: 14px; }

  .quality-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stat-badge { bottom: var(--space-md); left: var(--space-md); padding: var(--space-md); }
  .stat-badge__number { font-size: 2rem; }
}
