/* ==========================================================================
   KRISHNA INDUSTRIES — HOMEPAGE STYLES
   Design tokens
   -------------------------------------------------------------
   Colour:
     --navy         #0F2544  primary brand / authority
     --navy-dark    #081A30  header, footer, deepest panels
     --orange       #E8551E  heat / energy / CTA accent
     --orange-dark  #C43F12  CTA hover
     --ember        #FF9448  small highlights only
     --cream        #F3F1EC  light section background (warm, not pure white)
     --white        #FFFFFF  product backgrounds
     --charcoal     #1C1C1E  dark industrial sections
     --steel        #D9D4C8  hairline borders on light sections
   Type:
     Display  — Oswald (condensed, stamped-plate industrial feel)
     Body     — Inter
     Data/Eyebrow — Roboto Mono (gauge / spec-sheet readout feel)
   ========================================================================== */

:root {
  --navy: #0F2544;
  --navy-dark: #081A30;
  --navy-mid: #16345C;
  --orange: #E8551E;
  --orange-dark: #C43F12;
  --ember: #FF9448;
  --cream: #F3F1EC;
  --cream-deep: #EAE6DB;
  --white: #FFFFFF;
  --charcoal: #1C1C1E;
  --charcoal-soft: #2A2A2C;
  --steel: #D9D4C8;
  --ink: #1B2430;
  --ink-soft: #52606D;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;

  --container-w: 1280px;
  --radius-s: 3px;
  --radius-m: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--ember); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); color: var(--navy); line-height: 1.15; }
.section-head--light h2 { color: var(--white); }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-s);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo-mark { color: var(--orange); display: flex; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-display); }
.logo-text strong { font-size: 18px; letter-spacing: 0.04em; color: var(--white); }
.logo-text em { font-style: normal; font-size: 11px; letter-spacing: 0.28em; color: var(--ember); }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
}
.header-phone:hover { color: var(--white); }
.header-phone svg { color: var(--orange); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.hamburger span { width: 22px; height: 2px; background: var(--white); transition: transform 0.2s ease, opacity 0.2s ease; margin: 0 auto; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 82% 20%, rgba(232,85,30,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 34px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 84px 32px 70px;
  min-height: 560px;
}

.hero-copy h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  color: var(--white);
  line-height: 1.08;
  margin: 0 0 22px;
}
.hero-copy h1 span { color: var(--orange); }
.hero-sub {
  font-size: 17.5px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-plate {
  position: relative;
  background: var(--white);
  border: 6px solid var(--navy-mid);
  border-radius: var(--radius-m);
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.hero-plate img {
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
  border-radius: 2px;
}
.hero-tag {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.5);
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(232,85,30,0.25); }
.hero-tag--1 { top: -18px; left: -18px; }
.hero-tag--2 { bottom: -18px; right: -14px; }

.trust-strip { position: relative; background: var(--navy-dark); border-top: 1px solid rgba(255,255,255,0.1); }
.trust-strip-inner { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px; flex-wrap: wrap; gap: 16px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 120px; }
.trust-num { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--orange); }
.trust-label { font-size: 12.5px; color: rgba(255,255,255,0.68); letter-spacing: 0.03em; }
.trust-divider { width: 1px; height: 34px; background: rgba(255,255,255,0.14); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products { padding: 100px 0 90px; background: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card-img {
  background: var(--cream);
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.035); }
.product-card-body { padding: 20px 20px 22px; }
.product-card-body h3 { font-size: 18.5px; color: var(--navy); margin-bottom: 8px; }
.product-card-body p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; min-height: 44px; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.product-card:hover .product-link { color: var(--orange); border-color: var(--orange); }
.product-link span { transition: transform 0.15s ease; }
.product-card:hover .product-link span { transform: translateX(3px); }

.section-cta { text-align: center; margin-top: 50px; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-us { position: relative; background: var(--charcoal); padding: 96px 0; overflow: hidden; }
.why-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,26,48,0.92), rgba(28,28,30,0.97)),
    url('images/factory/factory-texture-dark.jpg') center/cover no-repeat;
  opacity: 0.9;
}
.why-us .container { position: relative; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--orange);
  padding: 30px 24px;
  border-radius: var(--radius-m);
}
.why-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,85,30,0.14);
  color: var(--orange);
  border-radius: var(--radius-m);
  margin-bottom: 20px;
}
.why-card h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: rgba(255,255,255,0.68); }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries { padding: 100px 0; background: var(--cream); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}
.industry-card--wide { grid-column: span 2; }
.industry-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: block;
}
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.industry-card:hover img { transform: scale(1.06); }
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,26,48,0.92) 0%, rgba(8,26,48,0.35) 55%, rgba(8,26,48,0.05) 100%);
}
.industry-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; }
.industry-index { font-family: var(--font-mono); font-size: 12px; color: var(--ember); letter-spacing: 0.06em; }
.industry-info h3 { font-size: 19px; color: var(--white); margin: 4px 0 4px; }
.industry-info p { font-size: 13px; color: rgba(255,255,255,0.78); max-width: 240px; }

/* ==========================================================================
   CUSTOM REQUIREMENT
   ========================================================================== */
.custom-req { background: var(--navy); padding: 90px 0; }
.custom-req-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.custom-req-copy h2 { font-size: clamp(28px, 3vw, 38px); color: var(--white); margin-bottom: 18px; }
.custom-req-copy p { font-size: 16.5px; color: rgba(255,255,255,0.76); max-width: 480px; margin-bottom: 30px; }
.custom-req-visual { border-radius: var(--radius-m); overflow: hidden; border: 1px solid rgba(255,255,255,0.14); }
.custom-req-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }

/* ==========================================================================
   MANUFACTURING CAPABILITY
   ========================================================================== */
.capability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-dark);
  min-height: 620px;
}
.capability-media { position: relative; overflow: hidden; }
.capability-media img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.capability-content { padding: 90px 60px; display: flex; flex-direction: column; justify-content: center; }
.capability-content h2 { font-size: clamp(28px, 2.8vw, 36px); color: var(--white); margin-bottom: 16px; }
.capability-lead { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 38px; max-width: 460px; }

.capability-list { display: flex; flex-direction: column; gap: 26px; }
.capability-list li { display: flex; gap: 18px; }
.capability-num { font-family: var(--font-mono); font-size: 14px; color: var(--orange); border: 1px solid rgba(232,85,30,0.5); border-radius: 50%; width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; }
.capability-list h3 { font-size: 16.5px; color: var(--white); margin-bottom: 4px; }
.capability-list p { font-size: 14px; color: rgba(255,255,255,0.65); }

/* ==========================================================================
   CREDIBILITY
   ========================================================================== */
.credibility { padding: 96px 0 80px; background: var(--white); }
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
}
.credibility-stat { text-align: center; }
.credibility-num { display: block; font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--navy); }
.credibility-label { font-size: 14px; color: var(--ink-soft); letter-spacing: 0.02em; }
.credibility-note { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); }
.placeholder-flag { color: #A8A196; font-style: italic; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { position: relative; background: var(--navy); padding: 100px 0; overflow: hidden; }
.final-cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 50% 0%, rgba(232,85,30,0.28), transparent 65%);
}
.final-cta-inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--white); margin-bottom: 16px; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 34px; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 76px 32px 50px;
}
.logo--footer { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 300px; }
.footer-col h4 { color: var(--white); font-size: 14.5px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.68); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.68); }
.footer-contact svg { color: var(--orange); flex: none; margin-top: 2px; }
.footer-quote { margin-top: 22px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 32px; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 8px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 14.5px;
  padding: 15px;
  border-radius: var(--radius-s);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.5);
}

/* ==========================================================================
   RESPONSIVE — TABLET (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .industry-card--wide { grid-column: span 2; }
  .capability { grid-template-columns: 1fr; }
  .capability-media { min-height: 320px; }
  .capability-content { padding: 60px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto 20px; }
  .hero-copy { text-align: left; }
  .custom-req-inner { grid-template-columns: 1fr; }
  .custom-req-visual { order: -1; max-width: 480px; }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .header-phone { display: none; }
  .btn-quote { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    padding: 30px 24px;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 16px 4px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a::after { display: none; }

  .hero-inner { padding: 44px 20px 50px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-tag { display: none; }

  .trust-strip-inner { padding: 20px; gap: 18px 10px; }
  .trust-item { min-width: 42%; }
  .trust-divider { display: none; }
  .trust-num { font-size: 22px; }

  .products { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card-body { padding: 16px; }
  .product-card-body p { min-height: 0; }

  .why-us { padding: 64px 0; }
  .why-grid { grid-template-columns: 1fr; }

  .industries { padding: 64px 0; }
  .industry-grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .industry-card--wide { grid-column: span 1; }

  .custom-req { padding: 60px 0; }
  .custom-req-copy p { max-width: none; }

  .capability-content { padding: 48px 20px; }

  .credibility { padding: 60px 0; }
  .credibility-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .credibility-num { font-size: 32px; }

  .final-cta { padding: 70px 0 108px; }
  .final-cta-actions { flex-direction: column; }
  .final-cta-actions .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; padding: 56px 20px 40px; gap: 34px; }
  .footer-bottom-inner { flex-direction: column; padding: 18px 20px 90px; }

  .mobile-sticky-cta { display: block; }
}


/