:root {
  --navy: #071421;
  --navy-2: #0d2033;
  --charcoal: #1d242c;
  --red: #c8202f;
  --red-dark: #a61925;
  --text: #17202a;
  --muted: #5d6875;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e4e8ee;
  --shadow: 0 12px 30px rgba(7, 20, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--red);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,0.85);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1px;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 28px;
  background: var(--red);
  bottom: -7px;
  left: 10px;
}

.brand-title {
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: #eef4fb;
  opacity: 0.92;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  border-bottom: 2px solid var(--red);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 22px;
  padding: 6px 10px;
  cursor: pointer;
}

.hero {
  min-height: 70vh;
  background:
    linear-gradient(100deg, rgba(7,20,33,0.96) 0%, rgba(7,20,33,0.86) 52%, rgba(7,20,33,0.72) 100%),
    radial-gradient(circle at 80% 20%, rgba(200,32,47,0.25), transparent 28%),
    linear-gradient(135deg, #132b42 0%, #071421 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -2px;
}

.hero h2,
.page-hero h2 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
  margin: 0 0 22px;
  color: #e8eef6;
}

.hero p {
  font-size: 18px;
  color: #d8e2ec;
  max-width: 680px;
}

.hero .small-note {
  font-weight: 800;
  color: #ffffff;
}

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  border-color: rgba(255,255,255,0.75);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn-outline {
  border-color: var(--red);
  color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.24);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.collage-card {
  min-height: 150px;
  padding: 18px;
  display: flex;
  align-items: end;
  background: linear-gradient(135deg, #25384b, #111d2a);
  border-left: 4px solid var(--red);
  font-weight: 800;
}

.collage-card:nth-child(3) {
  grid-column: span 2;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--light);
}

.section h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -1px;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  font-size: 17px;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(200,32,47,0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.link-more {
  font-weight: 800;
  color: var(--red);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature {
  background: var(--white);
  padding: 26px;
  border: 1px solid var(--border);
}

.feature h3 {
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.cta {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.cta p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #d8e2ec;
  font-size: 18px;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 82px 0;
  border-bottom: 4px solid var(--red);
}

.page-hero p {
  max-width: 760px;
  color: #d8e2ec;
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.side-panel {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-left: 5px solid var(--red);
}

.side-panel p {
  color: #d8e2ec;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.service-list li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
}

.service-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 900;
  margin-right: 10px;
}

.text-block {
  margin-bottom: 34px;
}

.text-block h2 {
  margin-top: 0;
}

.text-block p {
  color: var(--muted);
}

.contact-box {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 28px;
}

.contact-box strong {
  display: block;
  color: var(--text);
  margin-top: 16px;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #cfd6df;
  font: inherit;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background: #050d16;
  color: var(--white);
  padding: 44px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 30px;
  padding-top: 18px;
  color: #9fb0c3;
  font-size: 14px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 3px solid var(--red);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 58px 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-tagline {
    display: none;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .section {
    padding: 56px 0;
  }
}


/* ===== Image additions: keep original layout, add agreed images ===== */
.hero-panel {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}
.hero-image {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}
.card.with-image {
  padding: 0;
  overflow: hidden;
}
.card.with-image .card-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.card.with-image .card-body {
  padding: 24px 28px 28px;
}
.card.with-image .icon {
  display: none;
}
.page-hero.image-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center right;
  border-bottom: 4px solid var(--red);
}
.page-hero.image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(7,20,33,0.98) 0%, rgba(7,20,33,0.86) 42%, rgba(7,20,33,0.32) 100%);
}
.page-hero.image-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero.repairs-hero { background-image: url('images/hero-repairs.jpg'); }
.page-hero.fabrication-hero { background-image: url('images/hero-fabrication.jpg'); }
.page-hero.monitoring-hero { background-image: url('images/hero-monitoring.jpg'); }
.page-hero.about-hero { background-image: url('images/hero-about.jpg'); }
.support-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.support-image-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.support-image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.support-image-card .support-image-text {
  padding: 22px;
}
.support-image-card h3 {
  margin: 0 0 10px;
}
.support-image-card p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 900px) {
  .hero-image { height: 300px; }
  .support-image-grid { grid-template-columns: 1fr; }
}

.hp-field{display:none !important;}
