/* BMT-1 Corporate — main stylesheet
   Palette: white #FFFFFF, BMT blue #479ABA, near-black #0B0B0C, ink #1E1E20, grey #5F6368, light #EEF1F3
*/

:root {
  --white: #ffffff;
  --blue: #479aba;
  --blue-dark: #3486a5;
  --black: #0b0b0c;
  --ink: #1e1e20;
  --grey: #5f6368;
  --light: #eef1f3;
  --line: #d6dbe0;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(11, 11, 12, 0.18);
  --header-h: 78px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--black); margin: 0 0 0.6em; font-weight: 750; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 11, 12, 0.08);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link { display: inline-flex; align-items: center; }
.brand-logo,
.custom-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.custom-logo-link { display: inline-flex; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-list a:hover,
.nav-list .current-menu-item > a { color: var(--blue); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 11, 12, 0.12);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.header-cta { background: var(--black); color: var(--white); border-color: var(--black); }
.header-cta:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-b { border-left: 3px solid var(--blue); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.72) 42%, rgba(11, 11, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(11, 11, 12, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 4rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 720px);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 0.85rem;
  max-width: 14ch;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.hero-pills li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 11, 12, 0.35);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-head { margin-bottom: 2.25rem; max-width: 38rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.section-head.light .eyebrow { color: #9ed3e6; }
.section-head.light h2 { color: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.about-copy p { color: var(--ink); font-size: 1.05rem; }
.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.stat {
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--blue);
}
.stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--black);
  letter-spacing: -0.02em;
}
.stat span {
  display: block;
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Services */
.services.dark {
  background: var(--black);
  color: rgba(255, 255, 255, 0.86);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #161618;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.35rem 1.25rem 1.5rem; }
.card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.55rem; }
.card p { color: rgba(255, 255, 255, 0.72); margin: 0; font-size: 0.98rem; }

/* Products */
.table-wrap {
  overflow-x: auto;
  border: 1px solid #d8dce0;
  border-radius: var(--radius);
}
.products-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--white);
}
.products-table th,
.products-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e4e7ea;
  vertical-align: middle;
}
.products-table th {
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.products-table tr:last-child td { border-bottom: 0; }
.products-table tbody tr:hover { background: #f7fafb; }
.grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.4rem 0.65rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  border-radius: 4px;
  font-size: 0.92rem;
}
.table-note { color: var(--grey); font-size: 0.88rem; margin-top: 0.9rem; }

/* Markets */
.markets { background: var(--light); }
.markets-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: stretch;
}
.markets-intro { color: var(--ink); font-size: 1.05rem; margin-bottom: 1.5rem; }
.markets-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.markets-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--black);
  counter-increment: m;
}
.markets-list { counter-reset: m; }
.markets-list li::before {
  content: counter(m, decimal-leading-zero);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
}
.markets-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  background: var(--black);
}
.markets-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  opacity: 0.9;
}
.markets-panel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

/* Contact */
.contact {
  background: var(--black);
  color: rgba(255, 255, 255, 0.88);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-legal {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-list .label {
  display: block;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-list a,
.contact-list span:not(.label) {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-list a:hover { color: #9ed3e6; }
.contact-secondary {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}
.contact-secondary a { color: #9ed3e6; }

.contact-form-wrap {
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.8);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}
.form-status { min-height: 1.25rem; margin: 0; font-size: 0.92rem; }
.form-status.is-ok { color: #8fd3a4; }
.form-status.is-err { color: #f0a0a0; }
.form-note { color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; margin: 0; }

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2.25rem;
}
.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1rem;
  background: var(--blue);
  border-radius: 4px;
  padding: 0.35rem;
}
.footer-legal { color: var(--white); font-weight: 700; margin-bottom: 0.35rem; }
.footer-tag { color: rgba(255, 255, 255, 0.55); margin: 0; }
.site-footer h3 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--blue); }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bar p { margin: 0; }

.content-card {
  background: var(--white);
  border: 1px solid #e4e7ea;
  border-radius: var(--radius);
  padding: 2rem;
}
.entry-content > *:last-child { margin-bottom: 0; }

.language-switcher { display:flex; align-items:center; gap:.5rem; white-space:nowrap; }
.language-switcher a { color:var(--ink); font-size:.875rem; padding:.4rem .3rem; }
.language-switcher a[aria-current="page"] { color:var(--blue-dark); font-weight:700; text-decoration:underline; text-underline-offset:.25rem; }
.language-switcher a:focus-visible { outline:2px solid var(--blue-dark); outline-offset:3px; }
@media (min-width:821px) and (max-width:1100px) {
  .primary-nav { gap:.35rem; }
  .nav-list a { padding:.55rem .4rem; }
  .language-switcher { gap:.15rem; }
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid,
  .markets-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-media { grid-template-columns: 1fr; }
  .hero-img-b { display: none; }
  .hero { min-height: 640px; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(11, 11, 12, 0.08);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; }
  .header-cta { width: 100%; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .hero-content { padding-top: 4rem; }
  .section { padding: 3.5rem 0; }
}
