:root {
  --primary: #09213d;
  --secondary: #173b67;
  --accent: #155db1;
  --accent-deep: #293da4;
  --highlight: #f0a62b;
  --mint: #18a999;
  --light: #f5f8fc;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #15803d;
  --shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 18px rgba(9, 33, 61, .04);
  animation: headerDrop .7s ease both;
}
@keyframes headerDrop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}
.logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
}
.logo span {
  display: grid;
  gap: 2px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.logo strong { font-size: 1.34rem; }
.logo small { font-style: normal; font-size: 0.88rem; letter-spacing: 0; color: #111; }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-size: 1.05rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
  transition: color .25s ease;
}
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent);
  color: white;
  padding: 16px 26px;
  border-radius: 28px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21, 93, 177, .24); }
.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(7, 25, 47, 0.84), rgba(7, 25, 47, 0.22)), url('https://www.suryamachineworks.com/wp-content/uploads/2025/11/row-equipment-producing-metal-parts-works-photo-with-depth-field-1024x683.jpg') center/cover;
  color: white;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.machining-visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: .9; }
.hero-content, .page-hero .container { position: relative; z-index: 2; }
.blueprint-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(157, 209, 255, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 209, 255, .55) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent, #000 35%, #000 78%, transparent); animation: blueprintDrift 18s linear infinite; }
.precision-ring { position: absolute; right: 12%; top: 50%; border: 1px solid rgba(180, 222, 255, .48); border-radius: 50%; transform: translateY(-50%); }
.precision-ring-one { width: 420px; height: 420px; animation: ringSpin 22s linear infinite; }
.precision-ring-two { width: 270px; height: 270px; border-style: dashed; opacity: .7; animation: ringSpinReverse 14s linear infinite; }
.crosshair { position: absolute; right: calc(12% + 208px); top: 50%; width: 42px; height: 42px; border: 1px solid rgba(240, 166, 43, .9); border-radius: 50%; transform: translate(-50%, -50%); }
.crosshair::before, .crosshair::after { content: ''; position: absolute; background: rgba(240, 166, 43, .9); }
.crosshair::before { width: 64px; height: 1px; top: 20px; left: -12px; }
.crosshair::after { width: 1px; height: 64px; top: -12px; left: 20px; }
.scan-line { position: absolute; right: 12%; top: 18%; width: 420px; height: 2px; background: linear-gradient(90deg, transparent, rgba(240, 166, 43, .95), transparent); box-shadow: 0 0 14px rgba(240, 166, 43, .8); animation: scanDown 4.6s ease-in-out infinite; }
.tool-head { position: absolute; right: calc(12% + 162px); top: 18%; width: 92px; height: 78px; border: 2px solid rgba(180, 222, 255, .7); border-radius: 12px 12px 30px 30px; transform: rotate(8deg); animation: toolFloat 5s ease-in-out infinite; }
.tool-head::before { content: ''; position: absolute; left: 24px; top: -42px; width: 40px; height: 44px; border: 2px solid rgba(180, 222, 255, .7); border-bottom: 0; border-radius: 8px 8px 0 0; }
.tool-head b { position: absolute; left: 40px; bottom: -28px; width: 10px; height: 28px; background: var(--highlight); box-shadow: 0 0 14px rgba(240, 166, 43, .75); }
.tool-head i { position: absolute; top: 30px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(24, 169, 153, .8); animation: toolLight 1.8s ease-in-out infinite alternate; }
.tool-head i:nth-child(1) { left: 20px; } .tool-head i:nth-child(2) { left: 42px; animation-delay: .3s; } .tool-head i:nth-child(3) { left: 64px; animation-delay: .6s; }
.metal-chip { position: absolute; width: 9px; height: 3px; border-radius: 2px; background: var(--highlight); box-shadow: 0 0 8px rgba(240, 166, 43, .8); opacity: 0; animation: chipFly 4s ease-in infinite; }
.chip-one { right: 26%; top: 57%; animation-delay: .5s; } .chip-two { right: 18%; top: 63%; animation-delay: 1.8s; } .chip-three { right: 31%; top: 70%; animation-delay: 3s; }
@keyframes blueprintDrift { to { background-position: 42px 42px; } }
@keyframes ringSpin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes ringSpinReverse { to { transform: translateY(-50%) rotate(-360deg); } }
@keyframes scanDown { 0%, 100% { transform: translateY(0); opacity: 0; } 15%, 75% { opacity: 1; } 85% { transform: translateY(310px); opacity: 0; } }
@keyframes toolFloat { 0%, 100% { transform: translate(0, 0) rotate(8deg); } 50% { transform: translate(-18px, 22px) rotate(4deg); } }
@keyframes toolLight { to { opacity: .3; transform: scale(.7); } }
@keyframes chipFly { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-90px, 100px) rotate(180deg); } }
.hero::after { content: ''; position: absolute; width: 360px; height: 360px; right: 8%; bottom: -170px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.04), 0 0 0 64px rgba(255,255,255,.03); animation: slowOrbit 12s linear infinite; }
@keyframes slowOrbit { to { transform: rotate(360deg); } }
.hero-content { max-width: 760px; }
.hero-content > * { animation: heroRise .8s ease both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .22s; }
.hero-content > *:nth-child(4) { animation-delay: .34s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
}
h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1.1;
}
.hero p {
  font-size: 1.08rem;
  max-width: 620px;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(9, 33, 61, .16); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: white; }
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-deep), var(--accent)); }
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.6); color: white; }

.metrics {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 20px;
}
.metric-box {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 18px;
}
.metric-box strong { display: block; font-size: 2rem; }
.section {
  padding: 112px 0;
  position: relative;
}
.section-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 10px;
  color: var(--primary);
}
.section-header h2::after { content: ''; display: block; width: 46px; height: 3px; margin: 14px auto 0; background: linear-gradient(90deg, var(--highlight), var(--mint)); }
.section-header p {
  color: var(--muted);
  margin: 0;
}
.grid-3, .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.intro-media { position: relative; padding: 52px 0 0 30px; }
.intro-media img { width: 100%; height: 365px; object-fit: cover; }
.experience-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: white;
  box-shadow: 0 10px 34px rgba(9, 33, 61, 0.1);
}
.experience-badge strong { color: #293da4; font-size: 3.4rem; line-height: 1; }
.experience-badge span { font-weight: 700; line-height: 1.25; }
.quote-panel { border-left: 6px solid #293da4; background: #fff; padding: 24px 34px; box-shadow: 0 10px 34px rgba(9, 33, 61, 0.08); margin: 28px 0; }
.journey-intro { max-width: 900px; margin: 0 auto 42px; text-align: center; color: var(--secondary); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 30px 72px; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #c8d8ed; transform: translateX(-50%); }
.timeline article { position: relative; padding: 24px 28px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.timeline article { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.timeline article:hover { transform: translateY(-7px); border-color: #8aafe0; box-shadow: 0 16px 30px rgba(9, 33, 61, .14); }
.timeline-image { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.timeline-admin-entry { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.timeline-new-entry { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 2px solid var(--border); }
.timeline-admin-preview { width: 180px; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.quality-inspection-image { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; margin: 14px 0 8px; }
.timeline article:nth-child(1) { grid-column: 1; grid-row: 1; }
.timeline article:nth-child(2) { grid-column: 2; grid-row: 2; }
.timeline article:nth-child(3) { grid-column: 1; grid-row: 3; }
.timeline article:nth-child(4) { grid-column: 2; grid-row: 4; }
.timeline article:nth-child(5) { grid-column: 1; grid-row: 5; }
.timeline article:nth-child(6) { grid-column: 2; grid-row: 6; }
.timeline article:nth-child(7) { grid-column: 1; grid-row: 7; }
.timeline article:nth-child(8) { grid-column: 2; grid-row: 8; }
.timeline article::before { content: ''; position: absolute; top: 30px; right: -44px; width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: #293da4; box-shadow: 0 0 0 2px #293da4; z-index: 1; }
.timeline article:nth-child(even)::before { left: -44px; right: auto; }
.timeline strong { color: #293da4; font-size: 2rem; }
.timeline p { margin-bottom: 0; color: var(--secondary); }
.about-stats, .why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-stats div, .why-grid div { display: grid; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--border); text-align: center; }
.about-stats strong, .why-grid strong { color: #293da4; font-size: 2.5rem; line-height: 1; }
.about-stats span, .why-grid span { color: var(--secondary); }
.value-list article { border-bottom: 1px solid var(--border); padding: 10px 0; }
.value-list h3 { margin: 0; color: #293da4; }
.value-list p { margin: 4px 0 0; }
.why-section { background: #f5f8fc; }
.page-hero p { max-width: 700px; margin: 12px 0 0; color: rgba(255,255,255,.85); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.timeline article:hover { transform: translateY(-7px); }
.counter { display: inline-block; min-width: 1.6ch; }
.counter.counting { animation: counterPulse .65s ease-in-out infinite alternate; }
@keyframes counterPulse { from { opacity: .58; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }
.card, .product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover, .product-card:hover { transform: translateY(-6px); border-color: #8aafe0; box-shadow: 0 16px 30px rgba(9, 33, 61, .14); }
.card:nth-child(3n+1) { border-top: 3px solid var(--accent); }
.card:nth-child(3n+2) { border-top: 3px solid var(--mint); }
.card:nth-child(3n) { border-top: 3px solid var(--highlight); }
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}
.product-images, .product-admin-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.product-images img, .product-admin-images img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin: 0; }
.product-image-button { display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.product-image-button img { display: block; transition: transform .25s ease, opacity .25s ease; }
.product-image-button:hover img, .product-image-button:focus-visible img { transform: scale(1.03); opacity: .88; }
.product-visual-card { padding: 0; overflow: hidden; }
.product-visual-card .product-images { display: block; margin: 0; gap: 0; }
.product-visual-card .product-image-button { width: 100%; }
.product-visual-card .product-images img { height: 360px; border-radius: 0; object-fit: contain; object-position: center; background: #f8fafc; }
.product-gallery-modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 24px; background: rgba(5, 15, 28, .88); }
.product-gallery-modal.is-open { display: grid; }
.product-gallery-panel { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: 18px; width: min(1100px, 100%); height: min(88vh, 820px); }
.product-gallery-image { grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.product-gallery-close, .product-gallery-prev, .product-gallery-next { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.product-gallery-close { position: absolute; top: -8px; right: -8px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.product-gallery-prev, .product-gallery-next { width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; }
.product-gallery-prev { grid-column: 1; grid-row: 1; }
.product-gallery-next { grid-column: 3; grid-row: 1; }
.product-gallery-prev:disabled, .product-gallery-next:disabled { opacity: .35; cursor: default; }
.product-gallery-caption { grid-column: 1 / -1; grid-row: 2; margin: 0; color: #fff; text-align: center; }
.product-admin-images > div { min-width: 0; }
.image-delete { border: 0; background: #fee2e2; color: #991b1b; cursor: pointer; width: 100%; padding: 7px; font-size: .78rem; }
.card h3, .product-card h3 { margin-top: 0; }
.card p, .product-card p { color: var(--muted); }
.vmc-feature-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 1fr) 1.2fr; gap: 24px; align-items: center; overflow: hidden; }
.vmc-feature-card img { width: 100%; height: 230px; object-fit: cover; border-radius: 10px; }
.vmc-feature-content { padding-right: 10px; }
.vmc-feature-content .eyebrow { color: var(--accent); }
.vmc-feature-content h3 { font-size: 1.55rem; margin-bottom: 8px; }
.vmc-feature-content p { margin-bottom: 0; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.banner-box {
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #f5d58a;
}
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 52px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 28px;
}
.footer-grid h3 { color: white; }
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-links li { margin: 8px 0; }
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 600; }
input, select, textarea, button {
  font: inherit;
}
input, select, textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(21, 93, 177, .12); }
.upload-note { display: block; margin-top: 7px; color: var(--muted); font-size: .82rem; }
.upload-note-important { color: #dc2626; font-weight: 800; text-shadow: 0 0 8px rgba(239, 68, 68, .5); }
.success-message-modal { position: fixed; inset: 0; z-index: 1100; display: none; place-items: center; padding: 20px; background: rgba(5, 15, 28, .58); }
.success-message-modal.is-open { display: grid; animation: successFadeIn .25s ease both; }
.success-message-panel { width: min(520px, 100%); padding: 32px 36px; border: 2px solid #22c55e; border-radius: 12px; background: #fff; box-shadow: 0 0 28px rgba(34, 197, 94, .55), 0 18px 50px rgba(5, 15, 28, .3); text-align: center; }
.success-message-panel strong, .success-message-panel span { display: block; }
.success-message-panel strong { color: #15803d; font-size: 1.35rem; }
.success-message-panel span { margin-top: 8px; color: var(--primary); font-size: 1.05rem; }
@keyframes successFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mega-request-frame { width: min(100%, 250px); height: 54px; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.mega-request-frame iframe { display: block; width: 250px; height: 54px; border: 0; }
.contact-map { margin-top: 20px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }
.contact-map iframe { display: block; width: 100%; min-height: 260px; border: 0; }
textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--accent-deep));
  color: white;
  border: none;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(9, 33, 61, .18); }
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent-deep));
  color: white;
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}
.page-hero .machining-visual { opacity: .55; }
.page-hero::after { content: ''; position: absolute; width: 210px; height: 210px; right: 12%; top: -110px; border: 1px solid rgba(255,255,255,.2); transform: rotate(45deg); animation: heroShape 8s ease-in-out infinite; }
@keyframes heroShape { 50% { transform: rotate(135deg) scale(1.08); opacity: .55; } }
.page-hero h1 { margin-bottom: 0; }
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 120px);
}
.sidebar {
  background: var(--primary);
  color: white;
  padding: 24px 18px;
}
.sidebar a { display: block; padding: 12px 10px; border-radius: 8px; color: white; opacity: 0.9; transition: background .2s ease, transform .2s ease; }
.sidebar a:hover { background: rgba(255,255,255,0.08); }
.sidebar a:hover { transform: translateX(4px); }
.admin-main {
  padding: 30px;
}
.admin-page-heading { margin-bottom: 28px; }
.admin-page-heading h2 { margin: 6px 0; }
.admin-page-heading p { margin: 0; color: var(--muted); }
.jobs-admin-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: 28px; align-items: start; }
.application-admin-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); gap: 28px; align-items: start; }
.rfq-admin-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); gap: 28px; align-items: start; }
.created-jobs-panel, .new-job-panel { min-width: 0; }
.application-list-panel, .application-detail-panel { min-width: 0; }
.application-detail-panel { min-height: 460px; position: sticky; top: 24px; }
.rfq-list-panel, .rfq-detail-panel { min-width: 0; }
.rfq-detail-panel { min-height: 460px; position: sticky; top: 24px; }
.empty-detail { min-height: 400px; display: grid; place-content: center; text-align: center; color: var(--muted); }
.empty-detail h3 { color: var(--primary); margin: 10px 0 4px; }
.detail-mark { width: 52px; height: 52px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: #eaf3ff; color: var(--accent); font-size: 2rem; }
.application-detail-content h3 { margin-top: 0; color: var(--primary); }
.application-detail-content dl { display: grid; gap: 0; margin: 18px 0; }
.application-detail-content dl div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.application-detail-content dt { font-weight: 700; color: var(--secondary); }
.application-detail-content dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.rfq-detail-content h3 { margin-top: 0; color: var(--primary); }
.rfq-detail-content dl { display: grid; gap: 0; margin: 18px 0; }
.rfq-detail-content dl div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rfq-detail-content dt { font-weight: 700; color: var(--secondary); }
.rfq-detail-content dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.panel-heading h3, .new-job-panel h3 { margin: 0; }
.panel-heading span { color: var(--muted); font-size: .85rem; }
.dashboard-card { display: block; color: inherit; text-decoration: none; }
.dashboard-card p { color: var(--accent-deep); font-size: 2.8rem; font-weight: 800; line-height: 1; margin: 16px 0 10px; }
.dashboard-card span { color: var(--muted); font-size: .9rem; }
.dashboard-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.dashboard-entry { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.dashboard-entry:hover { color: var(--accent); padding-left: 5px; }
.dashboard-entry strong { color: var(--secondary); }
.dashboard-entry span { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-open { padding: 8px 12px; font-size: .8rem; margin: 2px; background: #eaf3ff; color: var(--accent); border: 1px solid #9fc3ed; border-radius: 6px; cursor: pointer; }
.admin-open:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.admin-modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(9, 33, 61, .62); }
.admin-modal.is-open { display: flex; animation: modalFade .2s ease both; }
.admin-modal-panel { width: min(720px, 100%); max-height: 86vh; overflow: auto; position: relative; padding: 30px; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.25); animation: modalRise .25s ease both; }
.admin-modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: transparent; color: var(--secondary); font-size: 1.8rem; cursor: pointer; }
.admin-modal-panel h2 { margin-top: 0; padding-right: 30px; color: var(--primary); }
.admin-modal-panel dl { display: grid; gap: 0; margin: 0; }
.admin-modal-panel dl div { display: grid; grid-template-columns: minmax(130px, .35fr) 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.admin-modal-panel dt { font-weight: 700; color: var(--secondary); }
.admin-modal-panel dd { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-links { display: grid; gap: 8px; padding-top: 18px; }
.detail-links a { color: var(--accent); font-weight: 700; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
tbody tr { transition: background .2s ease; }
tbody tr:hover { background: #eef6ff; }
.hidden { display:none; }
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero-grid, .grid-3, .quality-grid, .two-col, .footer-grid, .admin-shell, .form-grid, .product-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .navbar { gap: 16px; flex-wrap: wrap; padding: 12px 0; }
  .nav-links { gap: 14px; }
  .logo strong { font-size: 1.05rem; }
  .logo small { font-size: 0.72rem; }
  .intro-media { padding-left: 20px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .dashboard-panels { grid-template-columns: 1fr; }
  .jobs-admin-layout { grid-template-columns: 1fr; }
  .application-admin-layout { grid-template-columns: 1fr; }
  .application-detail-panel { position: static; }
  .rfq-admin-layout { grid-template-columns: 1fr; }
  .rfq-detail-panel { position: static; }
  .vmc-feature-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .navbar { min-height: 70px; flex-wrap: nowrap; padding: 8px 0; }
  .logo { gap: 7px; min-width: 0; }
  .logo img { width: 42px; height: 42px; }
  .logo strong { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; }
  .logo small { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .58rem; }
  .nav-cta { flex-shrink: 0; padding: 11px 12px; font-size: .72rem; }
  .timeline, .about-stats, .why-grid { grid-template-columns: 1fr; }
  .timeline { gap: 22px; padding-left: 28px; }
  .timeline::before { left: 8px; transform: none; }
  .timeline article, .timeline article:nth-child(even), .timeline article.reveal.is-visible:nth-child(even) { transform: none; }
  .timeline article:nth-child(n) { grid-column: 1; }
  .timeline article:nth-child(1) { grid-row: 1; }
  .timeline article:nth-child(2) { grid-row: 2; }
  .timeline article:nth-child(3) { grid-row: 3; }
  .timeline article:nth-child(4) { grid-row: 4; }
  .timeline article:nth-child(5) { grid-row: 5; }
  .timeline article:nth-child(6) { grid-row: 6; }
  .timeline article:nth-child(7) { grid-row: 7; }
  .timeline article:nth-child(8) { grid-row: 8; }
  .timeline article::before, .timeline article:nth-child(even)::before { left: -29px; right: auto; top: 26px; width: 12px; height: 12px; border-width: 3px; }
  .precision-ring-one { width: 260px; height: 260px; right: -90px; }
  .precision-ring-two { width: 170px; height: 170px; right: -45px; }
  .crosshair { right: 12px; }
  .tool-head { right: 28px; transform: scale(.7) rotate(8deg); transform-origin: top right; }
  .scan-line { right: -90px; width: 280px; }
}
