/* ELKIMS Construction — site styles (Bootstrap 5.3 base) */

:root {
  --navy: #1B2A41;
  --navy-deep: #111C2E;
  --orange: #E8711A;
  --orange-hover: #F58A3A;
  --ink: #1B2A41;
  --muted: #556070;
  --line: #DDE2E8;
  --paper: #F4F5F7;
  --on-dark-muted: #B9C3CF;
  --radius: 6px;

  --bs-body-font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-font-size: 1.0625rem;
  --bs-link-color-rgb: 27, 42, 65;
  --bs-link-hover-color-rgb: 0, 0, 0;
}

html { scroll-padding-top: 90px; }
body { line-height: 1.6; }

h1, h2, h3, .display {
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.text-brand { color: var(--orange) !important; }
.text-muted-ek { color: var(--muted); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-paper { background: var(--paper); }

.skip-link {
  position: absolute; left: 16px; top: 8px; z-index: 2000;
  background: var(--orange); color: var(--navy); padding: 8px 14px; font-weight: 700; border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; }
.btn-lg-pad { padding: 12px 24px; min-height: 52px; }

.btn-brand { --bs-btn-color: var(--navy); --bs-btn-bg: var(--orange); --bs-btn-border-color: var(--orange);
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: var(--orange-hover); --bs-btn-hover-border-color: var(--orange-hover);
  --bs-btn-active-color: var(--navy); --bs-btn-active-bg: #D9640F; --bs-btn-active-border-color: #D9640F;
  --bs-btn-focus-shadow-rgb: 232, 113, 26; border-width: 2px; padding-inline: 22px; }

.btn-navy { --bs-btn-color: #fff; --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-deep); --bs-btn-hover-border-color: var(--navy-deep);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #000; --bs-btn-focus-shadow-rgb: 27, 42, 65; border-width: 2px; padding-inline: 18px; }

.btn-ghost { --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255,255,255,.7);
  --bs-btn-hover-color: var(--navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--navy); --bs-btn-active-bg: #fff; border-width: 2px; padding-inline: 22px; }

/* ---------- Eyebrow & section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }
.on-dark .eyebrow { color: var(--orange); }

.section { padding: 104px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head-center { max-width: 720px; margin: 0 auto 48px; }

/* ---------- Top bar & navbar ---------- */
.topbar { background: var(--navy-deep); color: #C9D1DC; font-size: 14px; }
.topbar a { color: #C9D1DC; text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-nav { background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0; transition: box-shadow .2s; }
.site-nav.is-scrolled { box-shadow: 0 6px 24px rgba(17, 28, 46, .10); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .display { font-size: 26px; color: var(--navy); letter-spacing: .02em; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--orange); margin-top: 4px; }
.site-nav .nav-link { color: var(--navy); font-weight: 600; padding: 10px 14px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #000; box-shadow: inset 0 -3px 0 var(--orange); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.navbar-toggler { border: 2px solid var(--navy); border-radius: 4px; padding: 6px 10px; font-size: 26px; color: var(--navy); min-height: 44px; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(232, 113, 26, .35); }

/* ---------- Hero ---------- */
.hero {
  color: #fff; padding: 112px 0 96px;
  background-color: var(--navy-deep);
  background-image: linear-gradient(rgba(17, 28, 46, .80), rgba(17, 28, 46, .80)), url("../img/stock/hero.jpg");
  background-size: cover; background-position: center;
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 22px 0; color: #fff; }
.hero-lead { font-size: 1.25rem; color: #D7DDE5; max-width: 620px; margin-bottom: 34px; }
.trust-row { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 28px; }
.trust-item { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.trust-item > i { font-size: 28px; color: var(--orange); flex: none; }
.trust-item strong { display: block; }
.trust-item small { display: block; font-size: 14px; color: var(--on-dark-muted); }

/* ---------- Icon tiles ---------- */
.icon-tile {
  width: 56px; height: 56px; border-radius: var(--radius); flex: none;
  background: var(--navy); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.icon-tile-lg { width: 64px; height: 64px; font-size: 28px; }
.icon-tile-sm { width: 48px; height: 48px; font-size: 21px; }
.icon-tile-soft { background: rgba(255, 255, 255, .08); }

/* ---------- Service cards ---------- */
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  height: 100%; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.svc-card:hover { box-shadow: 0 18px 40px rgba(17, 28, 46, .14); transform: translateY(-3px); }
.svc-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.svc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc-icon { border: 4px solid #fff; margin-top: -58px; margin-bottom: 18px; }
.svc-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.svc-body h3 { font-size: 26px; margin: 4px 0 10px; }
.svc-body p { color: var(--muted); font-size: 15.5px; }

.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { position: relative; padding: 5px 0 5px 26px; font-size: 15.5px; }
.ticks li::before {
  content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 5px;
  color: var(--orange); font-weight: 700;
}

/* ---------- Why section ---------- */
.lead-dark { color: #C9D1DC; font-size: 18px; }
.framed-img { position: relative; padding: 0 18px 18px 0; }
.framed-img::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; background: var(--orange); border-radius: var(--radius); }
.framed-img img { position: relative; width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); display: block; }
.feature { display: flex; gap: 16px; }
.feature h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 4px; letter-spacing: 0; line-height: 1.3; }
.feature p { color: var(--on-dark-muted); font-size: 15.5px; margin: 0; }
.stats-row { margin-top: 72px; }
.stat { border-left: 3px solid var(--orange); padding-left: 18px; color: var(--on-dark-muted); }
.stat .display { font-size: 40px; color: #fff; }

/* ---------- Industries ---------- */
.ind-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; height: 100%; transition: border-color .2s; }
.ind-tile:hover { border-color: var(--orange); }
.ind-tile i { font-size: 34px; color: var(--orange); }
.ind-tile h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; margin: 14px 0 4px; letter-spacing: 0; line-height: 1.3; }
.ind-tile p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Process ---------- */
.process-img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); display: block; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: flex; gap: 22px; }
.step-num { font-family: 'Archivo Black', sans-serif; font-size: 44px; line-height: 1; color: var(--orange); flex: none; }
.steps h3 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 19px; margin: 0 0 4px; letter-spacing: 0; line-height: 1.3; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-active-bg: #FFF4EB;
  --bs-accordion-active-color: var(--navy);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(232, 113, 26, .35);
  --bs-accordion-border-radius: var(--radius);
  --bs-accordion-inner-border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 12px;
}
.faq .accordion-item { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; }
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--navy); font-size: 17px; padding: 20px 22px; }
.faq .accordion-body { color: var(--muted); padding: 4px 22px 22px; }
.faq .accordion-button:not(.collapsed) { box-shadow: none; }

/* ---------- Form ---------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; }
.form-label { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.req { color: #B4500C; }
.form-control, .form-select { border-radius: 4px; border-color: #C5CCD5; min-height: 48px; font-size: 16px; }
.form-control:focus, .form-select:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(232, 113, 26, .25); }
/* Only flag errors; don't decorate valid fields with green checks */
.was-validated .form-control:valid { border-color: #C5CCD5; background-image: none; padding-right: .75rem; }
.was-validated .form-select:valid { border-color: #C5CCD5; --bs-form-select-bg-icon: none; padding-right: 2.25rem; }
.was-validated .form-control:valid:focus, .was-validated .form-select:valid:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(232, 113, 26, .25); }
.pill-check {
  border: 2px solid #C5CCD5; color: var(--navy); font-weight: 600; border-radius: 999px;
  padding: 9px 18px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; background: #fff; cursor: pointer; user-select: none;
}
.pill-check:hover { border-color: var(--navy); }
.btn-check:checked + .pill-check { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-check:focus-visible + .pill-check { box-shadow: 0 0 0 .2rem rgba(232, 113, 26, .4); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.form-success h3 { font-size: 30px; margin: 0; }
.form-success:focus { outline: none; }

/* ---------- Contact card ---------- */
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; height: 100%; display: flex; flex-direction: column; gap: 24px; }
.contact-row { display: flex; gap: 16px; }
.contact-label { display: block; color: var(--on-dark-muted); font-size: 14px; }
.contact-value { display: block; color: #fff; font-weight: 700; text-decoration: none; font-style: normal; }
a.contact-value:hover { color: var(--orange); }
.map-ph {
  border-radius: var(--radius); min-height: 220px; flex: 1;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
  color: #C9D1DC; font-size: 14px; border: 1px dashed rgba(255, 255, 255, .25);
  background-color: #22344F;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
}
.contact-card iframe { width: 100%; min-height: 220px; flex: 1; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #C9D1DC; padding: 72px 0 32px; }
.footer .brand-word .display { font-size: 24px; }
.footer-mark { background: #fff; border-radius: var(--radius); padding: 8px; display: flex; }
.footer-head { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer a { color: #C9D1DC; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer a.btn-brand { color: var(--navy); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 24px; font-size: 14px;
}

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: var(--navy-deep); padding: 10px 12px; display: flex; gap: 10px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
}
.callbar .btn { flex: 1; min-height: 48px; }

@media (max-width: 991.98px) {
  body { padding-bottom: 72px; }
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 64px; }
  .site-nav .navbar-collapse { padding: 12px 0 18px; }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { box-shadow: none; color: var(--orange); }
  .framed-img img, .process-img { height: 340px; }
  .stats-row { margin-top: 48px; }
}

@media (max-width: 575.98px) {
  .form-card, .contact-card { padding: 22px; }
  .brand-word .display { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-card:hover { transition: none; transform: none; }
}
