/* ==========================================================================
   H.S. Martin Process Systems (India) — About Us
   Design system: engineering-grade precision, four-decade heritage.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  /* Brand */
  --brand: #0077b6;
  --brand-deep: #073b5c;
  --brand-tint: #eef5fa;
  --brand-tint-2: #cfe6f3;
  --accent: #b5651d; /* warm flame accent — used sparingly */

  /* Neutrals */
  --ink: #0e2233;
  --ink-soft: #48606f;
  --ink-faint: #7c8e9c;
  --paper: #ffffff;
  --paper-alt: #f5f8fa;
  --line: #dde5ea;
  --line-strong: #b9c9d3;

  /* Type */
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body:
    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: 1.5rem;
  --radius: 2px;

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.25rem;
  --sp-5: 3.5rem;
  --sp-6: 5rem;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--ink);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.1rem;
  max-width: 64ch;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 0.6rem;
}

::selection {
  background: var(--brand-tint-2);
  color: var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: var(--sp-6) 0;
}

/* Reusable section heading with a short rule — used inside dark/light bands */
.section-head {
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  position: relative;
}

.section-head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--brand);
}

.policy-dark .section-head::after {
  background: #fff;
}

/* --------------------------------------------------------------------------
   About heading + intro
   -------------------------------------------------------------------------- */

.about-overview {
  background: var(--paper);
  padding-bottom: var(--sp-4);
}

.about-heading {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  position: relative;
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.about-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 3px;
  background: var(--brand);
}

.about-overview .lede {
  font-size: 1.22rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  max-width: 74ch;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats-section {
  background: var(--brand-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  text-align: center;
  padding: var(--sp-2) var(--sp-3);
  border-left: 1px solid var(--line-strong);
}

.stat:first-child {
  border-left: none;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.4vw, 2.6rem);
  color: var(--brand-deep);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Company details
   -------------------------------------------------------------------------- */

.about-details {
  background: var(--paper);
  padding-top: var(--sp-5);
}

.overview-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-5);
  align-items: start;
}

.overview-figure {
  position: relative;
  padding: 12px;
}

.overview-figure::before,
.overview-figure::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--brand);
}

.overview-figure::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.overview-figure::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.overview-figure img {
  border: 1px solid var(--line);
}

.overview-copy p {
  max-width: 60ch;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}

.overview-copy p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   Capability section — "Precision in every glass"
   -------------------------------------------------------------------------- */

.capability-section {
  background: var(--brand-tint);
}

.capability-grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--sp-5);
  align-items: start;
}

.capability-intro h2 {
  padding-left: var(--sp-2);
  border-left: 3px solid var(--brand);
}

.capability-intro p {
  color: var(--ink-soft);
  margin: var(--sp-2) 0 var(--sp-3) calc(var(--sp-2) + 3px);
}

.capability-intro img {
  border: 1px solid var(--line);
  margin-left: calc(var(--sp-2) + 3px);
}

.capability-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  padding: var(--sp-4);
}

.capability-panel p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.capability-list {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding-top: var(--sp-1);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.capability-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.capability-list i {
  color: var(--brand);
  font-size: 0.92rem;
  width: 1.3rem;
  text-align: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mission / Vision
   -------------------------------------------------------------------------- */

.mv-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: var(--sp-3);
  align-items: stretch;
}

.mv-card {
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: var(--sp-4);
}

.mv-icon {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
}

.mv-card h3 {
  margin-bottom: 0.6rem;
}
.mv-card p {
  font-size: 0.95rem;
  max-width: none;
}

.mv-figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Director's message
   -------------------------------------------------------------------------- */

.director-section {
  background: var(--paper-alt);
}

.director-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  position: relative;
}

.director-panel .section-head {
  text-align: center;
}
.director-panel .section-head::after {
  left: 50%;
  transform: translateX(-50%);
}

.quote-mark {
  display: block;
  font-family: var(--font-head);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-tint-2);
  text-align: center;
  margin-bottom: -0.6rem;
}

blockquote {
  margin: 0;
  padding: 0;
}

blockquote p {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.65;
  max-width: 66ch;
  margin: 0 auto 1.1rem;
  text-align: center;
}

blockquote footer {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brand-deep);
}

blockquote footer span {
  display: block;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Quality / Safety policy bands
   -------------------------------------------------------------------------- */

.policy-section {
  background: var(--paper);
}

.policy-dark {
  background: linear-gradient(155deg, var(--ink) 0%, var(--brand-deep) 100%);
  color: rgba(255, 255, 255, 0.88);
}

.policy-dark h2 {
  color: #fff;
}
.policy-dark p {
  color: rgba(255, 255, 255, 0.82);
}

.policy-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-5);
  align-items: center;
}

.policy-grid--reverse {
  grid-template-columns: 5fr 7fr;
}
.policy-grid--reverse .policy-figure {
  order: -1;
}

.policy-copy p {
  max-width: 60ch;
  font-size: 1.02rem;
}

.policy-figure img {
  border: 1px solid var(--line);
}

.policy-dark .policy-figure img {
  border-color: rgba(255, 255, 255, 0.18);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  section {
    padding: var(--sp-5) 0;
  }

  .overview-grid,
  .capability-grid,
  .policy-grid,
  .policy-grid--reverse {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .stat {
    border-left: none;
    border-top: 1px solid var(--line-strong);
    padding-top: var(--sp-2);
  }

  .stat:first-child {
    border-top: none;
  }

  .policy-grid--reverse .policy-figure {
    order: 0;
  }

  .overview-figure {
    margin-bottom: var(--sp-3);
  }

  .capability-intro img {
    margin-left: 0;
  }
  .capability-intro p {
    margin-left: 0;
  }
  .capability-intro h2 {
    padding-left: 0;
    border-left: none;
    border-top: 3px solid var(--brand);
    padding-top: var(--sp-2);
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
  .mv-figure {
    order: -1;
    max-height: 260px;
    overflow: hidden;
  }

  .director-panel {
    padding: var(--sp-4);
  }
}

@media (max-width: 575px) {
  .capability-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}




.logo-hs-martin-usa {
    display: block;
    text-align: center;
}

.hsu-more-details {
    text-align: center;
    margin: 8px 0 20px;
    font-size: 0.9rem;
}