:root {
  --navy: #05386D;
  --navy-dark: #032241;
  --orange: #FF6820;
  --orange-light: #FF7C3D;
  --orange-cta: #CC4200;
  --orange-cta-dark: #A33500;
  --bg-light: #F5F6F8;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #5C6773;
  --border: #E2E5EA;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(20, 49, 90, 0.08);
  --shadow-hover: 0 6px 20px rgba(20, 49, 90, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-logo-chip {
  display: inline-flex;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}

.footer-logo-chip .logo-img { height: 30px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: var(--orange-cta);
}

.nav-cta {
  background: var(--orange-cta);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  border-bottom: none !important;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--orange-cta-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--orange-cta);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-cta-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 96px 0;
}

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

.hero-eyebrow {
  display: inline-block;
  color: var(--orange-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #D7DEE8;
  margin-bottom: 32px;
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat { text-align: center; padding: 16px 8px; }
.hero-stat .num { font-size: 1.9rem; font-weight: 800; color: var(--orange); }
.hero-stat .label { font-size: 0.85rem; color: #C7D0DE; margin-top: 4px; }

/* ---------- Section basics ---------- */

section { padding: 80px 0; }
section.alt { background: var(--bg-light); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-eyebrow {
  color: var(--orange-cta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--text-muted); }

/* ---------- Placeholder media block ---------- */

.placeholder-media {
  background: repeating-linear-gradient(135deg, #EEF1F5, #EEF1F5 10px, #E4E8ED 10px, #E4E8ED 20px);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  min-height: 200px;
}

/* ---------- Cards / grids ---------- */

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

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

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.product-grid .product-card {
  flex: 0 1 calc((100% - 56px) / 3);
  display: flex;
  flex-direction: column;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(245, 130, 31, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Values list ---------- */

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

.value-item {
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 20px;
}
.value-item h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Product cards ---------- */

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-card .placeholder-media { min-height: 180px; border-radius: 0; border: none; border-bottom: 1px solid var(--border); }

.product-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.product-card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 8px; }
.product-card-body .desc { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 16px; }

.product-card-body ul {
  list-style: none;
  margin-bottom: 16px;
}
.product-card-body ul li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.product-card-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.product-card-body .ideal-for {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.product-card-body .ideal-for strong { color: var(--navy); }

.product-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p { color: #D7DEE8; margin-bottom: 28px; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- Forms ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--orange-cta);
  box-shadow: 0 0 0 3px rgba(204, 66, 0, 0.15);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.contact-info-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h2 { color: var(--navy); font-size: 1.15rem; margin-bottom: 20px; }
.contact-item { margin-bottom: 20px; }
.contact-item .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-cta);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-item .value { color: var(--navy); font-weight: 600; }
.contact-item .value a:hover { color: var(--orange-cta); }
.contact-item .placeholder-note { color: var(--text-muted); font-style: italic; font-size: 0.88rem; }

.form-success {
  display: none;
  background: #E9F7EF;
  border: 1px solid #B8E6C9;
  color: #1E7A3D;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-dark);
  color: #C7D0DE;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: #A9B4C6; max-width: 36ch; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #8493A8;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-header p { color: #D7DEE8; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .values-grid { grid-template-columns: 1fr 1fr; }
  .quote-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-grid .product-card { flex-basis: calc((100% - 28px) / 2); }
}

@media (max-width: 640px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 4px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 1.9rem; }
  .grid-3, .grid-2, .values-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid .product-card { flex-basis: 100%; }
  section { padding: 56px 0; }
}
