/* RJSA Engineering — self-contained static rebuild (off-Wix). Real fonts/images recovered
   from the recorded clone; hand-built layout/CSS matching the live site's design. */

@font-face {
  font-family: 'RJSA Bank Gothic';
  src: url('../fonts/bankgothic.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'RJSA Avenir';
  src: url('../fonts/avenir-heavy.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'RJSA Avenir';
  src: url('../fonts/avenir-light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'RJSA Helvetica';
  src: url('../fonts/helvetica-light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

:root {
  --navy: #14283d;
  --navy-dark: #0f1f30;
  --navy-text: #1c2b38;
  --yellow: #f5c518;
  --sky: #2ba9e6;
  --nav-muted: #8fb0d6;
  --off-white: #f4f5f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'RJSA Helvetica', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: var(--navy-text);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, .brand-font {
  font-family: 'RJSA Bank Gothic', 'RJSA Avenir', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  padding: 18px 32px;
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-lockup {
  font-family: 'RJSA Bank Gothic', 'RJSA Avenir', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 0.85;
}
.brand-lockup .rj { font-size: 42px; display: block; }
.brand-lockup .sa { font-size: 42px; display: block; }
.brand-lockup .eng {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  margin-top: 6px;
  font-family: 'RJSA Avenir', Arial, sans-serif;
  font-weight: 800;
}
.tagline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'RJSA Bank Gothic', 'RJSA Avenir', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--nav-muted);
}
.site-nav {
  display: flex;
  gap: 32px;
  font-family: 'RJSA Avenir', Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
}
.site-nav a { color: #fff; }
.site-nav a.active { color: var(--yellow); }
.site-nav a:hover { color: var(--yellow); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 36, 0.35);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.25;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.scroll-down {
  display: inline-block;
  margin-top: 48px;
  color: #fff;
  font-size: 28px;
  animation: bob 2s infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---- Services ---- */
.services {
  position: relative;
  background: linear-gradient(rgba(10, 30, 50, 0.55), rgba(10, 30, 50, 0.55)), url('../img/services-bg.jpg') center/cover no-repeat;
  padding: 70px 24px 90px;
}
.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.services h2 {
  color: var(--sky);
  font-size: 42px;
  letter-spacing: 3px;
}
.underline {
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 18px auto 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.service-card {
  background: #fff;
}
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-label {
  padding: 16px 20px;
  font-family: 'RJSA Avenir', Arial, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--navy-text);
  text-transform: none;
}
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- About ---- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.about-text {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px;
}
.about-text h2 { color: var(--navy-text); font-size: 30px; }
.about-text p {
  margin-top: 24px;
  max-width: 420px;
  line-height: 1.7;
  color: #3a4650;
  font-size: 15px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about-image img { min-height: 260px; }
  .about-text { padding: 48px 28px; }
}

/* ---- Divider band ---- */
.divider-band {
  background: var(--yellow);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.divider-band span {
  width: 1px;
  height: 60%;
  background: rgba(255,255,255,0.6);
}

/* ---- Contact ---- */
.contact {
  padding: 80px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact > h2 {
  text-align: center;
  color: var(--navy-text);
  font-size: 34px;
  letter-spacing: 3px;
}
.contact > .underline { margin: 18px auto 56px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
.contact-col h3 {
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--navy-text);
  margin-bottom: 10px;
}
.contact-col h3 + p, .contact-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #3a4650;
  margin: 0 0 28px;
}
.contact-col a { color: var(--navy-text); font-weight: 600; }
.contact-col a:hover { color: var(--sky); }
.accent-line {
  width: 46px;
  height: 4px;
  background: var(--yellow);
  margin: 32px 0 18px;
}
.quote-cta {
  font-family: 'RJSA Avenir', Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-text) !important;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: #cfd8e3;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.social-links { display: flex; gap: 14px; }
.social-links img { width: 26px; height: 26px; border-radius: 50%; }

/* ---- ITE Forms (existing wired contact form, carried over as-is) ---- */
.iteform-container {
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #f5c518;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  max-width: 600px;
}
.iteform-legend { font-size: 0.75rem; color: #64748b; margin-bottom: 16px; }
.required-marker { color: #ef4444; }
.iteform-row { margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 16px; }
.iteform-row.flex-row { flex-direction: row; }
.iteform-group { display: flex; flex-direction: column; }
.iteform-group.w-100 { flex: 1 1 100%; }
.iteform-group label {
  font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; color: #334155;
  text-transform: none; letter-spacing: normal; font-family: inherit;
}
.iteform-group input, .iteform-group textarea {
  padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: 0.95rem; font-family: inherit; transition: all 0.2s;
}
.iteform-group input:focus, .iteform-group textarea:focus {
  outline: none; border-color: #1c2b38; box-shadow: 0 0 0 3px rgba(28, 43, 56, 0.15);
}
.iteform-container button {
  background: #1c2b38; color: #ffffff; border: none; padding: 12px 24px;
  font-size: 0.95rem; font-weight: 600; border-radius: 8px; cursor: pointer;
  transition: background 0.2s; width: 100%; text-transform: none; letter-spacing: normal;
  font-family: inherit;
}
.iteform-container button:hover { background: #16232e; }
.iteform-container button:disabled { opacity: 0.7; cursor: not-allowed; }
