/* =============================================
   ASIT INDUSTRIES — GBF Clone Layout
  Arial/Helvetica, white bg, navy nav, no red
============================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
}
a { color: #00629B; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== HEADER ===== */
#header-wrap {
  /* header image rendered via pseudo-element so we can apply filters
     and overlays separately for a crisper, brighter look */
  background-color: transparent;
  /* remove bottom border to eliminate thin white line */
  border-bottom: none;
  padding: 0 0 4px 0; /* reduce white space under header */
  overflow: visible;
  position: sticky; /* keep sticky here for stacking context */
  top: 0;
  z-index: 110;
}

/* Background image layer with enhancement filters */
#header-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/header.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* slightly brighter and balanced filters */
  filter: contrast(1.06) saturate(1.04) brightness(1.06);
  transform: translateZ(0);
  z-index: 0;
  pointer-events: none;
}

/* Light overlay to brighten and soften the texture */
#header-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  /* gentle white overlay to brighten without overexposing */
  background: linear-gradient(rgba(255,255,255,0.28), rgba(255,255,255,0.16));
  z-index: 1;
  pointer-events: none;
}
#header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: flex-end; /* align logo/nav to bottom of header */
  justify-content: space-between;
  height: 110px; /* reduced header height */
}
/* Logo sizing */
#logo-img {
  width: 260px; /* slightly smaller to fit better */
  height: auto; /* preserve aspect ratio */
  max-width: 100%;
  cursor: pointer;
  transition: width 160ms ease-in-out, transform 160ms ease-in-out;
  position: relative;
  z-index: 60;
  transform: translateY(10px);
}

/* Blend the logo with the textured header so white background appears transparent */
/* Logo blending: keep it visually transparent over the textured header. */
#logo { isolation: isolate; }
#logo-img {
  mix-blend-mode: multiply;
  background-color: transparent;
  display: inline-block;
}

/* Logo display — no color filter so original image shows */
#logo-img {
  /* no filter; use original image colors */
}
#header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Small badge next to the logo (placed inline in the header) */
#header-top-img {
  display: inline-block;
  width: 64px; /* slightly smaller */
  height: auto;
  margin-left: 10px;
  z-index: 70;
  pointer-events: none;
  align-self: flex-end;
  transform: translateY(2px);
}
#rfq-header-btn {
  display: inline-block;
  background: #00629B;
  color: #fff !important;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 24px;
  text-decoration: none !important;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 16px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(255,255,255,0.08);
}
#rfq-header-btn:hover { background: #004a73; }

/* (RFQ header active styles removed — header nav will use .nav-active instead) */

/* Make header sticky and ensure header content sits above background layers */
#header {
  position: relative;
  z-index: 2;
}

#header-wrap { box-shadow: 0 2px 6px rgba(0,0,0,0.08); }

/* Keep nav bar sticky just under the header */
#nav-wrap {
  position: sticky;
  top: 110px; /* matches #header height */
  z-index: 105;
}

/* Prevent sticky header+nav from covering anchor targets */
#about,
#cnc-machining,
#casting,
#honing,
#laser,
#custom,
#inspection,
#policy,
#docs,
#directions {
  scroll-margin-top: 184px; /* measured header (114px) + nav (54px) + 16px breathing room */
}

/* Headings and main words use Arial Bold */
h1, h2, h3, .page-title, .service-title, #nav > li > a, .sidebar-box h3, .form-sub-head {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* ===== NAV ===== */
#nav-wrap {
  background: #000;
  border-bottom: 3px solid #000;
  padding-top: 6px; /* small top padding so buttons don't sit flush */
}
#nav {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start; /* align buttons to top so we can nudge them */
}
#nav > li {
  position: relative;
}
#nav > li > a {
  display: inline-block;
  padding: 10px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  /* stronger 3D button */
  background: linear-gradient(180deg, #242424 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin: 2px 6px 6px 6px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.04), 0 0 0 1px rgba(255,255,255,0.12);
  padding-left: 18px;
  padding-right: 18px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}

/* Hover/lift: stronger highlight and lift to emphasize depth */
#nav > li > a:hover,
#nav > li:hover > a {
  background: linear-gradient(180deg, #ffffff 0%, #e9e9e9 100%);
  color: #000;
  text-decoration: none;
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.45), inset 0 2px 0 rgba(255,255,255,0.7), 0 0 0 2px rgba(255,255,255,0.18);
}

/* subtle pressed state */
#nav > li > a:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Active nav link */
.nav-active {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.18) !important;
}
/* Dropdown */
.subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: 3px solid #000;
  min-width: 220px;
  z-index: 200;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}
.has-sub:hover .subnav { display: block; }
.subnav li a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}
.subnav li:last-child a { border-bottom: none; }
.subnav li a:hover { background: #f5f5f5; color: #000; text-decoration: none; }

/* ===== SLIDESHOW ===== */
#slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #222;
  height: 550px;
  min-height: unset;
}
.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
  transition: left 0.4s ease-in-out;
}
.slide.active { left: 0; }

/* preparatory positions for animations */
.slide.prep-right { left: 100%; }
.slide.prep-left { left: -100%; }
.slide.out-left { left: -100%; }
.slide.out-right { left: 100%; }
.slide-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slide-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* keep only non-conflicting zoom-safe selector for legacy class */
.slide-img-el.slide-keep,
.slide-img-el.slide-zoom-88 {
  transform: none !important;
  transition: none !important;
  filter: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Responsive slideshow heights (use smaller viewport fractions) */
@media (max-width: 1000px) {
  #slideshow { height: 380px; }
}
@media (max-width: 700px) {
  #slideshow { height: 260px; }
}

/* Per-slide positioning removed to avoid conflicts; images are centered by default. */
.slide-caption {
  position: relative; /* sit below the image */
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: rgba(0,0,0,0.65); /* dark semi-transparent background */
  padding: 10px 20px;
  margin-top: 0;
}
.slide-caption p {
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}
.slide-prev,
.slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
}
.slide-prev { left: 10px; z-index: 50; transition: left 0.2s ease-in-out; }
.slide-next { right: 10px; z-index: 50; }
.slide-prev:hover,
.slide-next:hover { background: rgba(0,0,0,0.6); }

#slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 20;
}
.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s, height 0.2s;
}
.slide-dot.active {
  width: 10px;
  height: 10px;
  background: #fff;
}
.slide-dot:hover { background: rgba(255,255,255,0.7); }

/* ===== PAGE WRAP ===== */
#page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ===== RFQ BANNER ===== */
#rfq-banner {
  background: #f0f4f8;
  border: 1px solid #ccd6e0;
  border-left: 4px solid #000;
  padding: 10px 14px;
  margin: 14px 0;
  font-size: 13px;
  color: #333;
}
#rfq-banner a {
  color: #00629B;
  font-weight: bold;
  font-size: 14px;
  margin-right: 8px;
}

/* ===== 2-COL CONTENT LAYOUT ===== */
#content-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 40px;
}
#main-content {
  flex: 1;
  min-width: 0;
}
#sidebar {
  width: 220px;
  flex-shrink: 0;
}

/* ===== MAIN CONTENT ===== */
#main-content h1 {
  font-size: 20px;
  font-weight: bold;
  color: #1a2744;
  border-bottom: 2px solid #000;
  padding-bottom: 6px;
  margin: 18px 0 10px;
  line-height: 1.3;
}
#main-content h2 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin: 0 0 14px;
  font-style: italic;
}
#main-content p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}
.bullet-list {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.bullet-list li {
  font-size: 14px;
  color: #333;
  padding: 3px 0;
}
.bullet-list a { color: #00629B; }
.bullet-list a:hover { color: #000; }

/* Shop photos */
#shop-photos {
  display: flex;
  gap: 12px;
  margin: 14px 0;
}
.shop-photo-link {
  flex: 1;
  display: block;
  text-decoration: none !important;
}
.shop-photo-placeholder {
  background: #e8edf2;
  border: 1px solid #c0cad6;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* ensure scaled images don't show gaps */
}
.shop-photo-placeholder.wide {
  height: 220px;
  margin: 14px 0;
}
.shop-photo-placeholder span {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shop-photo-placeholder:hover { border-color: #00629B; }

/* Display actual images inside the placeholders */
.shop-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
  transform: scale(1.08) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 280ms ease;
}

.shop-photo-placeholder:hover img {
  transform: scale(1.02);
}

/* Service / equipment / quality photo placeholders should behave the same */
.service-photo-placeholder { overflow: hidden; }
.service-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
  transform: scale(0.80);
  transition: transform 280ms ease;
}
.service-photo-placeholder:hover img { transform: scale(1.02); }

/* Video / capability grid */
#video-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 24px;
}
.video-thumb {
  width: calc(33.333% - 8px);
  display: block;
  text-decoration: none !important;
}
.video-thumb-img {
  background-color: #1a2744;
  background-size: cover;
  background-position: center;
  border: 1px solid #b0bec8;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 8px;
  position: relative;
  transition: border-color 0.15s;
}
.video-thumb-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 50, 0.68);
  transition: background 0.15s;
}
.video-thumb-img span {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.video-thumb:hover .video-thumb-img {
  border-color: #00629B;
}
.video-thumb:hover .video-thumb-img::before {
  background: rgba(10, 20, 50, 0.35);
}

/* ===== SIDEBAR ===== */
.sidebar-box {
  background: #f4f7fa;
  border: 1px solid #ccd3db;
  border-top: 3px solid #1a2744;
  padding: 14px;
  margin-bottom: 16px;
}
.sidebar-box h3 {
  font-size: 13px;
  font-weight: bold;
  color: #1a2744;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccd3db;
}
.sidebar-box p {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 6px;
}
.sidebar-box a { color: #00629B; }
.sidebar-box a:hover { color: #000; }
.cert-placeholder {
  background: #e4eaf0;
  border: 1px solid #b8c4ce;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.cert-placeholder span {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
#anab-logo { margin-bottom: 8px; }

/* ===== FOOTER ===== */
#footer {
  background: #1a2744;
  color: #8a9ab8;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  border-top: 3px solid #000;
  margin-top: 10px;
}
#footer a { color: #8a9ab8; }
#footer a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  #content-wrap { flex-direction: column; }
  #sidebar { width: 100%; }
  #video-grid .video-thumb { width: calc(50% - 6px); }
  #shop-photos { flex-direction: column; }
  #nav { flex-direction: column; }
  #nav > li > a { padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .subnav { position: static; display: none; border-top: none; }
  .has-sub:hover .subnav { display: block; }
  /* Reduce logo size on small screens */
  #logo-img { width: 130px; height: auto; transform: translateY(6px); }
  /* Adjust sticky nav placement for smaller header */
  #nav-wrap { top: 80px; }
  /* Smaller top-right image and reduced spacing on mobile */
  #header-top-img { width: 84px; top: 6px; right: 12px; }
  #header-right { margin-right: 96px; }
}

/* =============================================
   INNER PAGES — shared styles
============================================= */

/* Active nav link — match hover: white background with black text */
.nav-active { background: #fff !important; color: #000 !important; }
#nav > li.active-parent > a { background: #fff; color: #000; }

/* Page title bar */
#page-title-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #000;
  padding: 14px 0 8px;
  margin-bottom: 4px;
}
.page-title {
  font-size: 22px;
  font-weight: bold;
  color: #1a2744;
}
.breadcrumb { font-size: 12px; color: #888; }
.breadcrumb a { color: #00629B; }

/* Intro paragraph */
.intro-p {
  background: #f0f4f8;
  border-left: 4px solid #1a2744;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #333;
}

/* =============================================
   SERVICES PAGE
============================================= */
.service-block {
  border-top: 2px solid #dde3ea;
  padding: 20px 0;
  margin-bottom: 4px;
}
.service-block:first-of-type { border-top: none; }
.service-title {
  font-size: 17px;
  font-weight: bold;
  color: #1a2744;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  margin-bottom: 14px;
}
.service-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.service-photo-col { width: 200px; flex-shrink: 0; }
.service-text-col { flex: 1; }
.service-text-col p { margin-bottom: 10px; font-size: 14px; color: #333; line-height: 1.65; }
.service-rfq-link {
  display: inline-block;
  color: #00629B;
  font-weight: bold;
  font-size: 13px;
  margin-top: 4px;
}
.service-rfq-link:hover { color: #004a73; }

/* Sidebar RFQ button */
.sidebar-rfq-btn {
  display: block;
  background: #00629B;
  color: #fff !important;
  text-align: center;
  padding: 9px 12px;
  font-weight: bold;
  font-size: 13px;
  margin-top: 10px;
  text-decoration: none !important;
}
.sidebar-rfq-btn:hover { background: #004a73; }

/* Sidebar nav links */
.sidebar-links { list-style: none; }
.sidebar-links li {
  border-bottom: 1px solid #dde3ea;
  padding: 0;
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: 7px 4px;
  font-size: 13px;
  color: #00629B;
}
.sidebar-links a:hover { color: #000; text-decoration: none; background: #f0f4f8; }

/* =============================================
   EQUIPMENT PAGE
============================================= */
.equip-photo-row {
  margin-bottom: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.equip-photo-row .service-photo-placeholder { width: 360px; height: 280px; overflow: hidden; display: flex; align-items: center; justify-content: center; }

.equip-photo-row .service-photo-placeholder img.equipment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.0) translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 280ms ease;
}

@media (max-width: 1000px) {
  .equip-photo-row .service-photo-placeholder { width: 320px; height: 240px; }
}
@media (max-width: 700px) {
  .equip-photo-row { flex-direction: column; }
  .equip-photo-row .service-photo-placeholder { width: 100%; height: 160px; }
}

/* Lightbox styles */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lb-overlay.active { display: flex; }
.lb-content { position: relative; max-width: 38vw; max-height: 42vh; padding: 12px; display:flex; align-items:center; justify-content:center; }
.lb-overlay.lb-large .lb-content { max-width: 70vw; max-height: 72vh; }
.lb-content img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  z-index: 10000;
}
.lb-caption { margin-top: 8px; color: #ddd; font-size: 14px; text-align: center; }
.equip-section-head {
  font-size: 16px;
  font-weight: bold;
  color: #1a2744;
  background: #e8edf4;
  border-left: 4px solid #1a2744;
  padding: 7px 12px;
  margin: 20px 0 10px;
}
.equip-list {
  list-style: none;
  border: 1px solid #dde3ea;
  margin-bottom: 8px;
}
.equip-list li {
  padding: 7px 12px;
  border-bottom: 1px solid #eef0f4;
  font-size: 14px;
  color: #333;
}
.equip-list li:last-child { border-bottom: none; }
.equip-list li::before {
  content: '– ';
  color: #1a2744;
  font-weight: bold;
}
.equip-note {
  font-size: 13px;
  color: #666;
  margin: 6px 0 16px;
  font-style: italic;
}
.equip-note-box {
  background: #f0f4f8;
  border: 1px solid #ccd3db;
  border-left: 4px solid #000;
  padding: 14px;
  font-size: 14px;
  color: #333;
  margin-top: 20px;
  line-height: 1.65;
}
.equip-note-box a { color: #000; font-weight: bold; }

/* =============================================
   QUALITY PAGE
============================================= */
.quality-cert-row {
  display: flex;
  gap: 14px;
  margin: 14px 0 20px;
}
.quality-cert-img { flex: 1; }
.quality-cert-img .service-photo-placeholder { height: 160px; }
.quality-doc-box {
  background: #f0f4f8;
  border: 1px solid #ccd3db;
  border-top: 3px solid #1a2744;
  padding: 16px;
  margin-top: 20px;
}
.quality-doc-box h3 {
  font-size: 14px;
  font-weight: bold;
  color: #1a2744;
  margin-bottom: 12px;
}
.quality-doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.quality-doc-table tr { border-bottom: 1px solid #dde3ea; }
.quality-doc-table tr:last-child { border-bottom: none; }
.quality-doc-table td { padding: 8px 6px; vertical-align: top; }
.quality-doc-table td:first-child { width: 38%; color: #555; }
.quality-doc-table a { color: #00629B; }
.quality-doc-table a:hover { color: #000; }

/* Hide quality document tables when slideshow slide 4 is active to avoid
   showing overlapping or messy tables on that slide. */
body.slide-4-active .quality-doc-table {
  display: none !important;
}

/* =============================================
   CONTACT / RFQ PAGE
============================================= */
#rfq-form-wrap {
  background: #f8f9fb;
  border: 1px solid #ccd3db;
  border-top: 3px solid #1a2744;
  padding: 20px;
  margin: 18px 0 24px;
}
.form-section-head {
  font-size: 16px;
  font-weight: bold;
  color: #1a2744;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #000;
}
.form-section { margin-bottom: 20px; }
.form-sub-head {
  font-size: 13px;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #dde3ea;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.form-field label {
  font-size: 13px;
  font-weight: bold;
  color: #444;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 8px 10px;
  border: 1px solid #c0c8d4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #333;
  background: #fff;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #1a2744;
}
.form-field textarea { resize: vertical; }
.field-note { font-size: 13px; color: #555; line-height: 1.6; }
.field-note a { color: #00629B; }
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #dde3ea;
  padding-top: 16px;
  margin-top: 4px;
}
#rfq-submit {
  background: #00629B;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 11px 28px;
  border: none;
  cursor: pointer;
}
#rfq-submit:hover { background: #004a73; }
.form-note { font-size: 12px; color: #888; }

/* Directions */
.directions-wrap {
  display: flex;
  gap: 20px;
  margin: 14px 0;
  align-items: flex-start;
}
.directions-info {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.75;
}
.directions-info p { margin-bottom: 12px; }
.directions-info a { color: #00629B; }
.map-placeholder {
  flex: 1;
  min-width: 0;
}

/* Responsive tweaks for inner pages */
@media (max-width: 700px) {
  .service-inner { flex-direction: column; }
  .service-photo-col { width: 100%; }
  .quality-cert-row { flex-direction: column; }
  .form-row-2 { grid-template-columns: 1fr; }
  .directions-wrap { flex-direction: column; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
}
