/* =========================================================
   BOLT NUT ENGINEERING SUPPLIES — ELITE CORE STYLESHEET
   Design language: engineering blueprint × precision-machined UI
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* ---- Color tokens (Contrast Upgraded) ---- */
  --bg:            #F4F5F7;   /* steel white */
  --surface:       #FFFFFF;
  --surface-glass: rgba(255,255,255,0.90); /* Increased opacity for readability */
  --ink:           #10161D;   /* forge navy-black */
  --ink-soft:      #334155;   /* Darkened for maximum text contrast */
  --ink-faint:     #64748B;   /* Darkened to prevent washed-out text */

  --primary:       #1B3A5C;   /* machine blue */
  --primary-deep:  #0E2035;   /* deep navy — dark sections */
  --primary-mid:   #24507A;

  --accent:        #D2601A;   /* torque orange */
  --accent-deep:   #A84A12;
  --accent-soft:   #F4C9A6;

  --line:          #D8DEE4;
  --line-dark:     rgba(255,255,255,0.14);

  --success:       #2E7D5B;
  --success-bg:    #E7F3ED;
  --error:         #B3261E;
  --error-bg:      #FBEAE9;

  --shadow-float:  0 18px 40px -18px rgba(14,32,53,0.28);
  --shadow-soft:   0 10px 24px -14px rgba(14,32,53,0.22);
  --shadow-tight:  0 4px 12px -6px rgba(14,32,53,0.18);

  /* ---- Type tokens ---- */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

  /* ---- Layout tokens ---- */
  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --nav-h: 78px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, select, textarea{ font-family: inherit; font-size: 1rem; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.35rem, 4.2vw, 3.8rem); font-weight: 800; }
h2{ font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 700; }
h3{ font-size: 1.28rem; font-weight: 700; }
p{ margin: 0 0 1em; color: var(--ink-soft); }

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

:focus-visible{
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Layout helpers ---- */
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--dark{ background: var(--primary-deep); color: #EDF1F5; }
.section--dark h1, .section--dark h2, .section--dark h3{ color: #FFFFFF; }
.section--dark p{ color: rgba(237,241,245,0.85); }
.section--panel{ background: var(--surface); }
.rule-top{ border-top: 1px solid var(--line); }
.rule-bottom{ border-bottom: 1px solid var(--line); }

.eyebrow{
  display:inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: rgba(210,96,26,0.09);
  border: 1px solid rgba(210,96,26,0.25);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.lede{
  font-size: 1.12rem;
  max-width: 62ch;
  color: var(--ink-soft);
}

.grid-bg{
  background-image:
    linear-gradient(rgba(27,58,92,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,58,92,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--primary{
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover{ background: var(--accent-deep); box-shadow: var(--shadow-float); }

.btn--ghost{
  background: transparent;
  border-color: rgba(16,22,29,0.22);
  color: var(--ink);
}
.btn--ghost:hover{ border-color: var(--primary); background: rgba(27,58,92,0.05); }

.section--dark .btn--ghost{ border-color: rgba(255,255,255,0.35); color: #fff; }
.section--dark .btn--ghost:hover{ background: rgba(255,255,255,0.08); border-color: #fff; }

.btn--block{ width:100%; }
.btn--sm{ padding: 9px 16px; font-size: 0.88rem; }

/* ---- Glass surfaces ---- */
.glass{
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display:flex;
  align-items:center;
  background: rgba(244,245,247,0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(16,22,29,0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-nav.is-scrolled{
  box-shadow: 0 8px 24px -16px rgba(14,32,53,0.35);
  background: rgba(244,245,247,0.98);
}
.site-nav .container{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 24px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark{
  width: 42px;
  height: 42px;
  flex-shrink:0;
  border: 2px solid var(--primary);
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--primary);
  font-weight:800;
  font-size: 0.95rem;
}
.brand-mark::before, .brand-mark::after{
  content:"";
  position:absolute;
  width:7px; height:7px;
  border: 2px solid var(--accent);
}
.brand-mark::before{ top:-2px; left:-2px; border-right:0; border-bottom:0; }
.brand-mark::after{ bottom:-2px; right:-2px; border-left:0; border-top:0; }
.brand small{
  display:block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 30px;
}
.nav-links a{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 2px;
  position: relative;
  transition: color 0.18s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a.active{ color: var(--primary); font-weight: 600; }
.nav-links a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-3px;
  height: 2px;
  background: var(--accent);
}

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-tel{
  display:none;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 880px){
  .nav-links{ display: none; } /* Handled by JS in full builds, hidden for now */
  .nav-cta .btn{ display:none; }
}
@media (min-width: 1080px){
  .nav-tel{ display:block; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding: 64px 0 88px;
  overflow: hidden;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items:center;
}
.hero-copy h1{ margin-bottom: 20px; }
.hero-copy .lede{ margin-bottom: 34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 34px; }

/* Image Fixed Hero */
.hero-visual {
  position:relative;
  aspect-ratio: 4/5;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  background: transparent;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-visual:hover img {
  transform: scale(1.05);
}

@media (max-width: 940px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ aspect-ratio: 16/10; order: -1; }
}

/* =========================================================
   STAT STRIP
   ========================================================= */
.stat-strip{
  padding: 40px 0;
  display:flex;
  flex-wrap:wrap;
  gap: 32px;
  justify-content: space-between;
}
.stat-item{ flex: 1 1 180px; }
.stat-item .num{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--ink);
  display:block;
}
.stat-item .lab{
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* =========================================================
   INTRO
   ========================================================= */
.intro-block{ max-width: 68ch; }

/* =========================================================
   CATEGORY / PRODUCT CARDS
   ========================================================= */
.grid-6{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px){ .grid-6{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid-6{ grid-template-columns: 1fr; } }

.cat-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: rgba(27,58,92,0.25);
}
.cat-card .icon{
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.cat-card h3{ margin-bottom: 8px; }
.cat-card p{ font-size: 0.94rem; margin-bottom: 16px; }
.cat-card .link{
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
}

/* =========================================================
   INDUSTRIES
   ========================================================= */
.industries-list{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
}
.industry-chip{
  display:flex;
  align-items:center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
}
.industry-chip .dot{
  width: 9px; height:9px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink:0;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner{
  background: var(--primary-deep);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 52px 48px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 85% 30%, black, transparent 70%);
}
.cta-banner h2{ color:#fff; margin-bottom: 6px; position:relative; }
.cta-banner p{ color: rgba(255,255,255,0.85); margin:0; position:relative; }
.cta-banner .btn{ position:relative; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,0.68);
  padding: 64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h4{
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.site-footer .brand{ color:#fff; margin-bottom: 14px; }
.site-footer .brand-mark{ border-color: rgba(255,255,255,0.5); color:#fff; }
.site-footer p{ color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 34ch; }
.footer-links li{ margin-bottom: 10px; }
.footer-links a{ font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color 0.18s ease; }
.footer-links a:hover{ color: #fff; }
.footer-contact li{ margin-bottom: 12px; font-size: 0.92rem; }
.footer-contact a{ color: rgba(255,255,255,0.8); }
.footer-social{ display:flex; gap:10px; margin-top: 6px; }
.footer-social a{
  width: 38px; height:38px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.footer-social a:hover{ background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{
  padding-top: 24px;
  display:flex;
  justify-content: space-between;
  flex-wrap:wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE HEADER (About / Products / Contact / Inquiry)
   ========================================================= */
.page-header{
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-header .lede{ margin-top: 12px; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.story-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items:start;
}
@media (max-width: 900px){ .story-grid{ grid-template-columns: 1fr; } }

.timeline-card{
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  border-radius: var(--radius-md);
}
.timeline-card .yr{
  font-family: var(--font-mono);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.85rem;
  display:block;
  margin-bottom: 6px;
}

.industry-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px){ .industry-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .industry-grid{ grid-template-columns: 1fr; } }

.industry-card{
  border-left: 3px solid var(--primary);
  background: var(--surface);
  padding: 22px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.industry-card h3{ font-size: 1.08rem; margin-bottom: 6px; }
.industry-card p{ font-size: 0.92rem; margin:0; }

.check-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}
@media (max-width: 700px){ .check-grid{ grid-template-columns: 1fr; } }

.check-item{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}
.check-item .tick{
  width: 26px; height: 26px;
  flex-shrink:0;
  background: var(--primary);
  color:#fff;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  margin-top: 2px;
}
.check-item .tick svg{ width:14px; height:14px; }
.check-item h4{ font-family: var(--font-body); font-weight:700; font-size: 1rem; margin: 0 0 3px; }
.check-item p{ font-size: 0.9rem; margin:0; }

/* =========================================================
   PRODUCTS PAGE (Image Fix Applied)
   ========================================================= */
.filter-bar{
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(244,245,247,0.88);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.filter-btn{
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.16s ease;
  cursor: pointer;
}
.filter-btn:hover{ border-color: var(--primary); color: var(--primary); }
.filter-btn.is-active{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
}
@media (max-width: 940px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .product-grid{ grid-template-columns: 1fr; } }

.product-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-float); }

.product-thumb{
  aspect-ratio: 4/3;
  background: #ffffff; /* Removed grey gradient to make real images pop */
  position:relative;
  display:flex; align-items:center; justify-content:center;
  border-bottom: 1px solid var(--line);
  padding: 1.5rem; /* Safe padding for real images */
}
/* Fixed Constraint for Real Images */
.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.08); /* Triggers dopamine on hover */
}

.product-thumb .sku{
  position:absolute;
  bottom: 10px; left: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-faint);
  background: rgba(255,255,255,0.9);
  padding: 3px 8px;
  border-radius: 4px;
}
.product-body{ padding: 20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.cat-badge{
  align-self:flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  color: var(--accent-deep);
  background: rgba(210,96,26,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.product-body h3{ font-size: 1.05rem; margin: 0; color: var(--ink); }
.product-body p{ font-size: 0.88rem; margin:0; flex:1; color: var(--ink-soft); }
.product-dims{ font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint); }
.product-body .btn{ margin-top: 6px; }

.empty-state{
  display:none;
  text-align:center;
  padding: 60px 20px;
  color: var(--ink-faint);
}
.empty-state.is-visible{ display:block; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 700px){ .contact-cards{ grid-template-columns: 1fr; } }

.contact-card{
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display:flex;
  gap: 18px;
  align-items:flex-start;
}
.contact-card.phone{ background: var(--primary); color:#fff; }
.contact-card.email{ background: var(--surface); border: 1px solid var(--line); }
.contact-card .ic{
  width: 46px; height:46px;
  flex-shrink:0;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
}
.contact-card.phone .ic{ background: rgba(255,255,255,0.16); }
.contact-card.email .ic{ background: rgba(27,58,92,0.08); color: var(--primary); }
.contact-card .ic svg{ width: 22px; height:22px; }
.contact-card h3{ margin-bottom: 4px; }
.contact-card.phone h3{ color:#fff; }
.contact-card .val{ font-family: var(--font-mono); font-size: 1.02rem; font-weight: 600; }
.contact-card.phone .val{ color:#fff; }
.contact-card.email .val{ color: var(--primary); }
.contact-card .sub{ font-size: 0.85rem; opacity:0.75; margin-top:4px; }

.map-frame{
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow:hidden;
  height: 340px;
}
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

.address-block{ font-size: 0.96rem; }
.address-block .line{ display:block; }

.hours-table{
  width:100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.hours-table td{ padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours-table td:first-child{ font-weight: 600; color: var(--ink); }
.hours-table td:last-child{ text-align:right; font-family: var(--font-mono); color: var(--ink-soft); }
.hours-table tr:last-child td{ border-bottom:none; }

.contact-columns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:start;
}
@media (max-width: 860px){ .contact-columns{ grid-template-columns: 1fr; } }

.social-row{ display:flex; gap:12px; margin-top: 18px; }
.social-btn{
  width: 44px; height:44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  display:flex; align-items:center; justify-content:center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.social-btn:hover{ border-color: var(--primary); transform: translateY(-3px); }
.social-btn svg{ width:18px; height:18px; color: var(--primary); }

/* =========================================================
   INQUIRY / FORM
   ========================================================= */
.form-shell{
  display:grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items:start;
}
@media (max-width: 940px){ .form-shell{ grid-template-columns: 1fr; } }

.form-panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-tight);
}

.field-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }

.field{ margin-bottom: 20px; }
.field label{
  display:block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .req{ color: var(--accent-deep); }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=number],
.field select,
.field textarea{
  width:100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FBFCFD;
  color: var(--ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
  outline:none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea{
  border-color: var(--error);
}

.radio-row{ display:flex; gap: 22px; }
.radio-option{
  flex:1;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.radio-option:hover{ border-color: var(--primary); }
.radio-option input{ accent-color: var(--primary); width:16px; height:16px; }
.radio-option.is-checked{ border-color: var(--primary); background: rgba(27,58,92,0.05); }
.radio-option span{ font-size: 0.92rem; font-weight: 600; color: var(--ink); }

#addressField{ display:none; }
#addressField.is-visible{ display:block; }

.alert-box{
  display:none;
  align-items:flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.alert-box.is-visible{ display:flex; }
.alert-box.success{ background: var(--success-bg); color: var(--success); border: 1px solid rgba(46,125,91,0.3); }
.alert-box.error{ background: var(--error-bg); color: var(--error); border: 1px solid rgba(179,38,30,0.3); }
/* Fix: Constrains the giant SVGs in the alert boxes */
.alert-box svg { width: 24px !important; height: 24px !important; flex-shrink: 0; }

.side-panel{
  border-radius: var(--radius-md);
  padding: 30px 26px;
  background: var(--primary-deep);
  color: #fff;
}
.side-panel h3{ color:#fff; margin-bottom: 12px; }
.side-panel p{ color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.side-panel .side-list{ margin-top: 20px; }
.side-panel .side-list li{
  display:flex; gap:10px; align-items:flex-start;
  font-size: 0.9rem; color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}
.side-panel .side-list .dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--accent); margin-top:8px; flex-shrink:0;
}
.side-panel .side-contact{
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* --- ELITE OVERRIDE PATCH --- */

/* Fix: Forces dark text on the white industry chips in dark sections */
.industry-chip {
    color: var(--ink) !important;
}