/* ============================================
   JCR INDUSTRIAL COATINGS — v2 CLEAN REDESIGN
   Style: White/light, professional, modern
   Reference: Maguire Water aesthetic
   ============================================ */

:root {
  --navy: #0F2A4A;
  --navy-light: #1B3D6B;
  --blue: #1A58A8;
  --gold: #D4922A;
  --gold-light: #F0A23C;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Barlow Condensed', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1140px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 2rem; }
.section-light { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}
nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-cta {
  display: flex;
  align-items: center;
}
.nav-cta .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,42,74,0.92) 0%, rgba(15,42,74,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 4rem 0 4rem 4vw;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(240,162,60,0.4);
  padding: 0.3rem 0.85rem;
  border-radius: 3px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  line-height: 1.08;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.25rem;
  max-width: 500px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── PROOF STRIP ── */
.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem;
}
.proof-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.proof-item .proof-icon {
  width: 28px;
  height: 28px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proof-item .proof-icon svg { width: 14px; height: 14px; fill: var(--white); }
.proof-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* ── SECTION HEADERS ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-title.light { color: var(--white); }
.divider {
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}

/* ── WHO WE ARE ── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.who-text p { color: var(--gray-600); margin-bottom: 1.25rem; font-size: 0.95rem; }
.who-text .btn { margin-top: 0.75rem; }
.who-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  padding: 3rem 2rem;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
}

/* ── PROJECT GRID ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 300px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover img { transform: scale(1.04); }
.project-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(15,42,74,0.92));
}
.project-overlay h3 { color: var(--white); font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.project-overlay p { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 0.2rem; }
.project-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  background: var(--gold);
  color: var(--white);
}
.project-tag.completed { background: #10B981; }

/* ── CLIENT TYPES ── */
.client-types {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}
.client-chip {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  transition: all var(--transition);
}
.client-chip:hover { border-color: var(--blue); color: var(--blue); }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.service-card h3 { color: var(--navy); margin-bottom: 0.6rem; font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.service-card p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.65; }

/* ── SAFETY PAGE ── */
.safety-header {
  background: var(--navy);
  padding: 8rem 2rem 4rem;
  margin-top: 70px;
  text-align: center;
}
.safety-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.safety-header p { color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

.safety-statement {
  background: var(--gray-50);
  padding: 3.5rem 2rem;
}
.safety-statement blockquote {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.85;
  border-left: 4px solid var(--gold);
  padding-left: 1.75rem;
  font-style: italic;
}

.safety-practices { padding: 4.5rem 2rem; }
.practices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.practice-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.practice-item:hover { box-shadow: var(--shadow-sm); }
.practice-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 2.25rem;
}
.practice-item h3 { color: var(--navy); font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.35rem; }
.practice-item p { color: var(--gray-500); font-size: 0.85rem; line-height: 1.6; }

.cert-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.cert-badge {
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

/* ── PROJECTS PAGE ── */
.page-header {
  background: var(--navy);
  padding: 8rem 2rem 4rem;
  margin-top: 70px;
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-header p { color: rgba(255,255,255,0.65); margin-top: 0.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.page-header .section-label { color: var(--gold-light); }

.project-detail {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--gray-200);
}
.project-detail:last-child { border-bottom: none; }
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.project-detail-grid.reverse { direction: rtl; }
.project-detail-grid.reverse > * { direction: ltr; }
.project-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.project-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.meta-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}
.meta-tag.highlight { background: var(--gold-light); color: var(--white); }
.project-info h2 { color: var(--navy); margin-bottom: 0.4rem; font-size: 1.5rem; }
.project-info .client { color: var(--blue); font-weight: 600; margin-bottom: 1rem; font-size: 0.9rem; }
.scope-list { margin-top: 1rem; }
.scope-list li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--gray-600);
  font-size: 0.88rem;
}
.scope-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { color: var(--navy); margin-bottom: 1.75rem; font-size: 1.4rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; }
.contact-detail-text strong { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 0.2rem; }
.contact-detail-text a { color: var(--navy); font-weight: 500; font-size: 0.92rem; }
.contact-detail-text a:hover { color: var(--blue); }

.contact-form {
  background: var(--gray-50);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { color: var(--navy); margin-bottom: 1.75rem; font-size: 1.4rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,88,168,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--gray-400); margin-top: 1rem; line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy);
  padding: 4.5rem 2rem;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 500px; margin: 0 auto 2rem; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  padding: 3.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; max-width: 280px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.footer-ids { display: flex; gap: 1.5rem; }
.footer-ids span { color: rgba(255,255,255,0.25); font-size: 0.72rem; letter-spacing: 0.06em; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .who-grid, .project-detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-detail-grid.reverse { direction: ltr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-left: 2rem; }
  .who-img img { height: 280px; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { color: var(--navy); }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .practices-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .proof-strip-inner { gap: 1.25rem; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { min-height: 75vh; }
  .hero h1 { font-size: 2rem; }
}
