/* ==========================================
   E&Rs inc. - Company Page CSS
   Company Overview / Spec Style
   FULL REPLACEMENT
========================================== */

:root {
  --ink: #0b1220;
  --navy: #142850;
  --blue: #1f4aa8;
  --muted: #5b6676;
  --line: #d9e0ea;
  --bg-soft: #f7f9fc;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(10, 25, 50, .12);
  --shadow-soft: 0 10px 30px rgba(10, 25, 50, .10);
}

/* ---------------------------
   Page title
--------------------------- */
.page-title {
  font-size: 32px;
  font-weight: 800;
  margin: 40px 0 48px;
  text-align: left;
}

/* ---------------------------
   Main two-column layout
--------------------------- */
.company-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto 100px;
  position: relative;
  gap: 0;
}

/* Center divider */
.company-layout::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--line),
    transparent
  );
}

/* Columns */
.company-details,
.company-visual {
  flex: 0 0 520px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* Left column */
.company-details-left {
  padding-right: 44px;
  text-align: left;
}

/* Right column */
.company-visual {
  padding-left: 44px;
}

/* ---------------------------
   Left column: spec blocks
--------------------------- */
.company-item {
  margin-bottom: 28px;
}

.company-label {
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--ink);
}

.company-sub {
  font-weight: 700;
  margin-top: 10px;
  color: var(--ink);
}

.company-item p {
  margin: 4px 0;
  line-height: 1.75;
  color: var(--ink);
}

.company-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

/* ---------------------------
   Right column: stats card
--------------------------- */
.stats-card {
  width: 100%;
  max-width: 420px;
  margin-bottom: 38px;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(1200px 380px at 15% 0%, rgba(31,74,168,.18), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(20,40,80,.10);
  box-shadow: var(--shadow-soft);
}

.stats-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(20,40,80,.78);
  margin-bottom: 10px;
}

.stats-num {
  display: block;
  font-size: 44px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-num small {
  font-size: 16px;
  font-weight: 900;
  margin-left: 6px;
  color: rgba(11,18,32,.55);
}

.stats-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13.5px;
}

/* ---------------------------
   Right column: vision card
--------------------------- */
.vision-detail-card {
  width: 100%;
  max-width: 420px;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(1000px 420px at 20% 0%, rgba(255,255,255,.20), transparent 60%),
    linear-gradient(180deg, #0f1c3a, #142850);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.vision-detail-card h2 {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-left: 4px solid #fff;
  padding-left: 12px;
}

.vision-lead {
  margin: 0 0 12px;
  font-weight: 900;
  line-height: 1.7;
}

.vision-body {
  margin: 0;
  line-height: 1.85;
  font-size: 13.5px;
  color: rgba(255,255,255,.86);
}

/* ---------------------------
   Responsive
--------------------------- */
@media (max-width: 1100px) {
  .company-details,
  .company-visual {
    flex: 0 0 480px;
  }
}

@media (max-width: 1000px) {
  .company-layout {
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }

  .company-layout::before {
    display: none;
  }

  .company-details-left,
  .company-visual {
    padding: 0 8px;
    width: 100%;
  }
}
.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.industry-card {
  border: 1px solid #e0e0e0;
  padding: 14px 16px;
  background: #fafafa;
}

.industry-card h4 {
  margin: 0 0 6px;
  font-size: 0.95em;
}

.industry-card p {
  font-size: 0.85em;
  color: #555;
}
