/* ============================================================
   Blas Mechanical Services LLC — Design System
   Palette: Navy #1B3A6B | Red #C0272D | Light Blue #3D7EB8
            Gray #5A5F6B | Off-white #F4F6F9 | Dark #10254A
   Fonts: Barlow Condensed (headings) / Barlow (body)
   Corner style: 6px radius everywhere
   ============================================================ */

:root {
  --navy: #1B3A6B;
  --navy-dark: #10254A;
  --navy-deep: #0C1B36;
  --red: #C0272D;
  --red-dark: #A01F24;
  --blue: #3D7EB8;
  --gray: #5A5F6B;
  --gray-light: #E4E7EC;
  --offwhite: #F4F6F9;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(16, 37, 74, 0.10);
  --shadow-strong: 0 14px 40px rgba(16, 37, 74, 0.18);
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); }

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

.section { padding: 76px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--offwhite); }
.section.navy { background: var(--navy); }
.section.navy h2, .section.navy h3, .section.navy h4 { color: var(--white); }
.section.navy p { color: #C9D3E4; }

/* Centered text blocks with max-width need auto margins */
.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p { margin-top: 14px; }
.section-head.left { margin-left: 0; text-align: left; }

/* Lone-star eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}
.section-head.left .eyebrow::after { display: none; }
.section.navy .eyebrow { color: #FF8A8E; }
.section.navy .eyebrow::before, .section.navy .eyebrow::after { background: #FF8A8E; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 15px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: rgba(27,58,107,0.07); }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-call svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------------- Topbar ---------------- */
.topbar {
  background: var(--navy-deep);
  color: #B9C4D8;
  font-size: 0.88rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #FFB3B6; }
.topbar .tagline {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-head);
  font-weight: 600;
}
.topbar .phones { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .label { color: #7E8CA6; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
  margin-bottom: -60px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(16, 37, 74, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 0;
  padding-bottom: 0;
}
.logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 4px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  transition: background 0.25s ease;
}
.site-header.scrolled .logo-link { background: transparent; }
/* Logo shows only the Texas graphic + "BLAS MECHANICAL SERVICES LLC" name.
   The full image is rendered larger and negative margins crop away the
   service line, tagline and empty background, so the visible lockup is
   62px tall (52px + 20%) and everything around it stays transparent. */
.logo-link img {
  height: 155px;
  width: auto;
  margin: -39px -7px -54px -2px;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.02rem;
  color: var(--navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.main-nav .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--radius);
  border-bottom: none;
}
.main-nav .nav-cta:hover { background: var(--red-dark); color: var(--white); }

/* Transparent header state (top of page, over hero) */
.site-header:not(.scrolled) .main-nav a {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(12, 27, 54, 0.6);
}
.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav a.active {
  color: var(--white);
  border-bottom-color: var(--red);
}
.site-header:not(.scrolled) .main-nav a.nav-cta { text-shadow: none; }
.site-header:not(.scrolled) .nav-toggle span { background: var(--white); }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-drop-toggle {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.02rem;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-drop-toggle:hover { color: var(--red); }
.nav-drop-toggle.active { color: var(--red); border-bottom-color: var(--red); }
.drop-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.nav-dropdown.open .drop-caret { transform: rotate(225deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 37, 74, 0.18);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 140;
}
.drop-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .drop-menu,
.nav-dropdown.open .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-menu a {
  display: block;
  padding: 10px 22px;
  border-bottom: none;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}
.drop-menu a:hover { color: var(--red); background: rgba(16, 37, 74, 0.05); }
.drop-menu a.active { color: var(--red); }

/* Dropdown in transparent header state: trigger white, panel stays solid white */
.site-header:not(.scrolled) .nav-drop-toggle {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(12, 27, 54, 0.6);
}
.site-header:not(.scrolled) .nav-drop-toggle:hover,
.site-header:not(.scrolled) .nav-drop-toggle.active {
  color: var(--white);
  border-bottom-color: var(--red);
}
.site-header:not(.scrolled) .drop-menu a { color: var(--navy); text-shadow: none; }
.site-header:not(.scrolled) .drop-menu a:hover,
.site-header:not(.scrolled) .drop-menu a.active { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 90px 0;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(12, 27, 54, 0.6);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--white);
  text-align: justify;
}
.hero-content h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.hero-content h1 .accent { color: #FF6B70; }
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: #DDE4F0;
  margin: 18px 0 30px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  color: var(--white);
  background: rgba(192, 39, 45, 0.85);
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero-dot.is-active {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.15);
}
.hero-compact { min-height: 380px; padding: 64px 0; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 72px 0;
}
.page-hero .hero-overlay {
  background: linear-gradient(100deg, rgba(12, 27, 54, 0.93) 0%, rgba(12, 27, 54, 0.78) 55%, rgba(12, 27, 54, 0.5) 100%);
}
.page-hero h1 { color: var(--white); }
.page-hero .hero-sub { margin-bottom: 0; }

/* ---------------- Service cards ---------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.card .icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(27, 58, 107, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; fill: var(--navy); }
.card .icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; margin-bottom: 16px; }
.card .card-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--red);
  font-size: 1rem;
}
.card .card-link:hover { color: var(--red-dark); text-decoration: underline; }
.section.navy .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.section.navy .card p { color: #C9D3E4; }
.section.navy .card .icon { background: rgba(255,255,255,0.1); }
.section.navy .card .icon svg { fill: #9FC1E4; }

/* Photo-background service cards (What We Do) */
.card.photo-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: none;
  min-height: 320px;
}
.card.photo-card .card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card.photo-card:hover .card-bg { transform: scale(1.05); }
.card.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,37,74,0.94) 0%, rgba(16,37,74,0.62) 50%, rgba(16,37,74,0.28) 100%);
}
.card.photo-card .card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: auto;
  padding: 28px 26px;
}
.card.photo-card h3 { color: var(--white); margin-bottom: 8px; }
.card.photo-card p { color: #DCE4F0; font-size: 0.95rem; margin-bottom: 14px; }
.card.photo-card .card-link { color: var(--white); }
.card.photo-card .card-link:hover { color: #FFC9CC; text-decoration: underline; }

/* Sunk-in logo watermark behind Who We Serve */
.serve-section {
  position: relative;
  overflow: hidden;
}
.serve-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 120%);
  height: auto;
  opacity: 0.3;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.serve-section .container { position: relative; z-index: 1; }

/* Residential / commercial dual cards */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.audience-card {
  border-radius: var(--radius);
  padding: 38px 34px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.audience-card.navy-card { background: var(--navy); border: none; }
.audience-card.navy-card h3 { color: var(--white); }
.audience-card.navy-card p, .audience-card.navy-card li { color: #C9D3E4; }
.audience-card h3 { margin-bottom: 12px; }
.audience-card ul { list-style: none; margin-top: 14px; }
.audience-card li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 0.98rem;
}
.audience-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ---------------- Split sections ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(12,27,54,0.85));
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 40px 20px 14px;
  font-size: 0.9rem;
}

/* Checklist */
.checklist { list-style: none; margin: 18px 0 26px; }
.checklist li {
  padding: 9px 0 9px 34px;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 60%, #245093 100%);
  color: var(--white);
  padding: 58px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #C9D3E4; margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Credentials ---------------- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.cred-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.cred-card .cred-name {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.cred-card .cred-num {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--red);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.section.navy .cred-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.section.navy .cred-card .cred-name { color: var(--white); }

/* Owner credential feature */
.owner-badge {
  display: inline-block;
  background: rgba(192,39,45,0.08);
  border: 1px solid rgba(192,39,45,0.3);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-top: 22px;
}
.owner-badge .owner-name {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 1.3rem;
}
.owner-badge .owner-title {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.92rem;
}

/* ---------------- Placeholder project grid ---------------- */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.placeholder-card {
  border: 2px dashed #B9C4D6;
  border-radius: var(--radius);
  background: var(--offwhite);
  padding: 30px 22px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.placeholder-card .ph-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27,58,107,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-card .ph-icon svg { width: 22px; height: 22px; fill: var(--navy); opacity: 0.7; }
.placeholder-card .ph-label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  font-size: 1rem;
}
.placeholder-card .ph-note { font-size: 0.85rem; color: #8A93A5; }

/* ---------------- Value strips ---------------- */
.value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
  background: var(--navy-deep);
  border-top: 3px solid var(--red);
}
.value-strip .value-item {
  padding: 30px 28px;
}
.value-strip .v-num {
  font-family: var(--font-head);
  font-weight: 700;
  color: #FF6B70;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}
.value-strip .v-title {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 6px;
}
.value-strip p { color: #A9B6CC; font-size: 0.92rem; margin: 0; }

/* ---------------- Contact form ---------------- */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 44px;
  border-top: 5px solid var(--red);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.single { grid-template-columns: 1fr; }
.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 7px;
}
.form-field label .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #C6CEDB;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy-dark);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 126, 184, 0.18);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input[type="file"] {
  padding: 10px;
  background: var(--offwhite);
}
.form-field input[type="file"]::file-selector-button {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 9px 16px;
  margin-right: 14px;
  cursor: pointer;
}
.form-field input[type="file"]::file-selector-button:hover { background: var(--navy-dark); }
.form-note { font-size: 0.88rem; color: #8A93A5; margin-top: 6px; }
#formStatus { margin-top: 16px; font-weight: 600; display: none; }

/* ---------------- Contact info cards ---------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card .cc-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(192,39,45,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.contact-card .cc-icon svg { width: 24px; height: 24px; fill: var(--red); }
.contact-card .cc-label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  font-size: 0.92rem;
}
.contact-card .cc-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--navy);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}
.contact-card .cc-value:hover { color: var(--red); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-deep);
  color: #A9B6CC;
  padding: 64px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #A9B6CC; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-logo img { height: 45px; width: auto; margin-bottom: 16px; background: var(--white); padding: 8px 12px; border-radius: var(--radius); }
.footer-phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}
.footer-phone:hover { color: #FF6B70; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0 0 4px; }
.footer-cred-note {
  font-size: 0.82rem;
  color: #6E7C97;
  margin-top: 14px;
  line-height: 1.5;
}

/* Breadcrumb-ish service tag row */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.service-tag {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--navy);
  background: rgba(61, 126, 184, 0.1);
  border: 1px solid rgba(61, 126, 184, 0.3);
  padding: 7px 14px;
  border-radius: 4px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-media { order: -1; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: 0 18px 30px rgba(16, 37, 74, 0.18);
    z-index: 120;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1.15rem;
  }
  .main-nav a.active { border-bottom-color: var(--red); }
  .main-nav .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
    padding: 15px;
  }
  .site-header .main-nav.open a,
  .site-header .main-nav.open a:hover,
  .site-header .main-nav.open a.active {
    color: var(--navy);
    text-shadow: none;
  }
  .site-header .nav-toggle.open span { background: var(--navy); }
  .nav-dropdown { width: 100%; }
  .nav-drop-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1.15rem;
    color: var(--navy);
    text-shadow: none;
  }
  .site-header .main-nav.open .nav-drop-toggle,
  .site-header .main-nav.open .nav-drop-toggle:hover,
  .site-header .main-nav.open .nav-drop-toggle.active {
    color: var(--navy);
    text-shadow: none;
  }
  .site-header .main-nav.open .nav-drop-toggle.active { border-bottom-color: var(--red); }
  .drop-menu {
    position: static;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown:hover .drop-menu { transform: none; }
  .nav-dropdown.open .drop-menu { max-height: 340px; }
  .drop-menu a { padding: 13px 4px 13px 22px; font-size: 1.05rem; }
  .topbar .tagline { display: none; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 640px) {
  .site-header { margin-bottom: -50px; }
  .card-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-wrap { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 520px; }
  .value-strip .value-item { padding: 22px 20px; }
  .logo-link img { height: 125px; margin: -31px -6px -44px -2px; }
}

/* ============================================================
   Commercial page — corporate redesign (page-scoped .comm-*)
   ============================================================ */

/* Larger, more generous section rhythm */
.comm-section { padding: 100px 0; }
.comm-gray { background: #F7F8FA; }

/* ---------------- Hero ---------------- */
.comm-hero { min-height: 620px; padding: 110px 0; }
.comm-hero .hero-overlay {
  background: linear-gradient(100deg, rgba(10, 22, 44, 0.94) 0%, rgba(10, 22, 44, 0.8) 50%, rgba(10, 22, 44, 0.55) 100%);
}
.comm-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 700;
}
.comm-hero .hero-sub { max-width: 640px; }
.comm-hero-accent {
  width: 84px;
  height: 4px;
  background: var(--red);
  margin: 24px 0 20px;
}
.comm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 8px 20px;
}
.comm-hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------------- Intro split ---------------- */
.comm-intro-text {
  border-left: 4px solid var(--red);
  padding-left: 30px;
}
.comm-points {
  list-style: none;
  margin: 22px 0 30px;
}
.comm-points li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--navy);
  font-weight: 600;
}
.comm-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 9px;
  height: 9px;
  background: var(--red);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ---------------- Services card grid ---------------- */
.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.comm-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(16, 37, 74, 0.07);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.comm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(16, 37, 74, 0.14);
}
.comm-card-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.comm-card h3 {
  color: #1B2A4A;
  margin-bottom: 10px;
}
.comm-card p {
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.comm-card-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--red);
  font-size: 1rem;
  transition: color 0.15s;
}
.comm-card-link:hover { color: var(--red-dark); text-decoration: underline; }

/* ---------------- Stats band ---------------- */
.comm-stats {
  background: var(--navy-deep);
  padding: 72px 0;
}
.comm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.comm-stat .comm-stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #FF6B70;
  line-height: 1.1;
}
.comm-stat .comm-stat-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  font-size: 1.05rem;
  margin: 6px 0 10px;
}
.comm-stat p {
  color: #A9B6CC;
  font-size: 0.92rem;
  margin: 0;
}

/* ---------------- Credentials bar ---------------- */
.comm-navy {
  background: var(--navy);
}
.comm-navy h2 { color: var(--white); font-weight: 700; }
.comm-cred-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.comm-cred-item {
  padding: 30px 28px;
}
.comm-cred-item + .comm-cred-item {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.comm-cred-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: #FF6B70;
  line-height: 1.1;
  margin-bottom: 8px;
}
.comm-cred-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.comm-cred-item p {
  color: #A9B6CC;
  font-size: 0.92rem;
  margin: 0;
}

/* ---------------- CTA band ---------------- */
.comm-cta {
  background: #1a1a1a;
  color: var(--white);
  padding: 72px 0 56px;
}
.comm-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.comm-cta h2 {
  color: var(--white);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 8px;
}
.comm-cta p { color: #B9BEC7; margin: 0; }
.comm-cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.comm-cta .btn-red { background: var(--red); }
.comm-cta .btn-red:hover { background: var(--red-dark); }
.comm-cta .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.comm-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.comm-cta-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #8A8F99;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .comm-grid { grid-template-columns: repeat(2, 1fr); }
  .comm-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 26px; }
  .comm-cred-bar { grid-template-columns: repeat(2, 1fr); }
  .comm-cred-item:nth-child(3) { border-left: none; }
  .comm-cred-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.25); }
}

@media (max-width: 640px) {
  .comm-section { padding: 72px 0; }
  .comm-grid { grid-template-columns: 1fr; }
  .comm-stats-grid { grid-template-columns: 1fr; }
  .comm-cred-bar { grid-template-columns: 1fr; }
  .comm-cred-item + .comm-cred-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  .comm-intro-text { padding-left: 20px; }
  .comm-hero { min-height: 540px; padding: 84px 0; }
  .comm-cta-inner { flex-direction: column; align-items: flex-start; }
}
