/* ==========================================================================
   Beijing EastWest Energy Technology Co., Ltd. (EWE)
   Clean Industrial Corporate Design System
   Unified Palette: White · Neutral Gray · EWE Corporate Blue · Deep Navy
   ========================================================================== */

:root {
  --navy: #163a63;
  --navy-deep: #133256;
  --blue: #1b5fa8;
  --blue-hover: #144b86;
  --blue-tint: #f0f5fb;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --bg-white: #ffffff;
  --bg-subtle: #f7f9fb;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 37, 64, 0.08);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-secondary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section--alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--navy {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

/* Typography & Headers */
.section-header {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section--navy .section-label {
  color: #93c5fd;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--bg-white);
}

h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.section--navy .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Buttons — Unified Single Brand Color */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

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

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

.btn--white:hover {
  background: var(--blue-tint);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--bg-white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--bg-white);
}

.btn--outline-dark {
  background: var(--bg-white);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn--outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation (Clean Logo Only, No Redundant Company Name)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--blue);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__lang {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
  transition: var(--transition);
}

.nav__lang:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav__toggle {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Section — Global Positioning + Primary Business Scope Above the Fold
   ========================================================================== */
.hero {
  position: relative;
  padding: 132px 0 64px;
  background-color: var(--navy-deep);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-microgrid.jpg');
  background-size: cover;
  background-position: center 48%;
  opacity: 0.96;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(18, 48, 84, 0.82) 0%,
    rgba(22, 58, 99, 0.52) 48%,
    rgba(22, 58, 99, 0.16) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__top {
  max-width: 780px;
  margin-bottom: 48px;
}

.hero__kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  color: var(--bg-white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Primary Business Scope Grid Right in the Hero */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scope-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 22px 20px;
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.scope-card__num {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.scope-card h2 {
  font-size: 1.04rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.scope-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex-grow: 1;
}

.scope-card__link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
}

.scope-card__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */
.stats-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 4px 10px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item__num {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat-item__label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 32px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg-white);
}

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

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

.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  position: relative;
  background: var(--bg-subtle);
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--bg-white);
}

.product-card__tag--us {
  background: var(--blue);
}

.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__category {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 4px;
}

.product-card__title {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.product-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  margin-top: auto;
}

.mini-spec {
  display: flex;
  flex-direction: column;
}

.mini-spec span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mini-spec strong {
  font-size: 0.84rem;
  color: var(--text-primary);
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

.product-card__actions .btn {
  flex: 1;
}

/* Custom Containerized ESS Strip */
.ess-banner {
  margin-top: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.ess-banner h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.ess-banner p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.ess-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.ess-points li {
  padding-left: 16px;
  position: relative;
}

.ess-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.ess-banner__img {
  border-radius: var(--radius);
  height: 220px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ==========================================================================
   Smart Microgrid & Specialty Solutions
   ========================================================================== */
.solution-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 52px;
}

.diagram-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.diagram-card img {
  width: 100%;
  border-radius: var(--radius);
}

.diagram-card__caption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 24px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-item__num {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.feature-item p {
  font-size: 0.89rem;
  color: var(--text-secondary);
}

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

.specialty-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.specialty-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.specialty-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.check-list {
  display: grid;
  gap: 7px;
}

.check-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  padding-left: 18px;
  position: relative;
}

.check-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Tier-1 Partner Ecosystem */
.partners-box {
  margin-top: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  text-align: center;
}

.partners-box h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.partners-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.partner-logo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.partner-logo img {
  max-height: 36px;
  max-width: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   Managed Energy Services & O&M (EaaS)
   ========================================================================== */
.om-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.om-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.om-card__num {
  font-size: 0.76rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.om-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.om-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.om-models {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.om-models h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.om-models p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

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

.om-badge-box {
  background: rgba(9, 24, 43, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
}

.om-badge-box strong {
  display: block;
  color: var(--bg-white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.om-badge-box span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Global Projects Section — Balanced Worldwide Portfolio
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.project-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.project-card__media {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: var(--navy);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__loc {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 37, 64, 0.88);
  color: var(--bg-white);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.project-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card__year {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 5px;
}

.project-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex-grow: 1;
}

.project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-spec-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 4px;
}

/* ==========================================================================
   About, Global Footprint & Certifications
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

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

.outcome-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.outcome-card h4 {
  font-size: 0.94rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.outcome-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footprint-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footprint-tag {
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
}

.cert-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.cert-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--blue-tint);
  color: var(--blue);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.office-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.office-card h4 {
  font-size: 0.96rem;
  color: var(--navy);
  margin-bottom: 5px;
}

.office-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.direct-contacts {
  background: var(--navy);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.direct-contacts h4 {
  color: #93c5fd;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.direct-contacts__list {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.direct-contacts__list a {
  color: var(--bg-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.direct-contacts__list a:hover {
  color: #93c5fd;
}

.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.contact-form h3 {
  font-size: 1.28rem;
  margin-bottom: 6px;
}

.contact-form > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-white);
}

.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(27, 95, 168, 0.12);
}

.form-status {
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue);
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 0.88rem;
  max-width: 310px;
}

.footer h4 {
  color: var(--bg-white);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer ul {
  display: grid;
  gap: 9px;
  font-size: 0.86rem;
}

.footer a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Technical Specifications Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 24, 43, 0.68);
}

.modal.is-open {
  display: flex;
}

.modal__dialog {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.modal__header h3 {
  font-size: 1.28rem;
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-white);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  background: var(--navy);
  color: var(--bg-white);
  border-color: var(--navy);
}

.modal__body {
  padding: 24px 26px;
  overflow-y: auto;
}

.modal__top {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.modal__top img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.spec-table th,
.spec-table td {
  padding: 9px 13px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.spec-table thead th {
  background: var(--navy);
  color: var(--bg-white);
  font-weight: 600;
}

.spec-table tr.spec-group td {
  background: var(--blue-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal__footer {
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .scope-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
  }

  .ess-banner,
  .solution-split,
  .om-models,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .om-grid,
  .projects-grid,
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav {
    height: 70px;
    gap: 12px;
  }

  .nav__logo {
    height: 40px;
  }

  .nav__links,
  .nav__actions .btn {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 14px;
  }

  .hero {
    padding: 108px 0 48px;
  }

  .scope-grid,
  .products-grid,
  .specialty-grid,
  .om-grid,
  .projects-grid,
  .offices-grid,
  .outcomes-grid,
  .ess-points,
  .om-badges,
  .form-row,
  .modal__top,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .ess-banner {
    padding: 24px 20px;
  }

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