* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --bg: #1f1f1f;
  --panel: #141414;
  --header: #111;
  --text: #f5f5f5;
  --muted: #bdbdbd;
  --border: #333;
  --red: #b11217; /* EMS red accent */
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1050px;
  margin: auto;
  padding: 40px 20px;
}

header {
  background-color: var(--header);
  border-bottom: 4px solid var(--red);
}

.header-inner{
  padding-top: 28px;
  padding-bottom: 28px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.logo{
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-text{
  text-align: center;
}

header h1 {
  font-size: 2.1rem;
  margin-bottom: 4px;
}

.tagline {
  color: var(--red);
  font-weight: bold;
  margin-bottom: 10px;
}

.contact{
  text-align: center;
  margin-top: 10px;
}

.contact a {
  color: var(--text);
  text-decoration: none;
}

.contact a:hover { text-decoration: underline; }

section { border-bottom: 1px solid var(--border); }

section h2 {
  color: var(--red);
  margin-bottom: 14px;
}

h3{
  margin-bottom: 8px;
}

.muted{ color: var(--muted); }

ul { padding-left: 18px; }
li { margin: 6px 0; }

.grid-list{
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.grid-list li{
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 10px;
}

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 16px 14px;
}

.steps{
  margin-top: 10px;
  padding-left: 20px;
}

.steps li{
  margin: 10px 0;
}

.standards ul{
  margin-top: 10px;
}

.work-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.work-item{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.work-photo{
  width: 100%;
  height: 140px;
  border-radius: 10px;
  border: 1px dashed #555;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1a1a1a, #101010);
}

.contact-section{
  background-color: var(--panel);
  text-align: center;
}

.contact-stack{
  margin-top: 12px;
  font-size: 1.05rem;
}

footer {
  background-color: #0d0d0d;
  font-size: 0.95rem;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact a{
  color: var(--text);
  text-decoration: none;
}
.footer-contact a:hover{ text-decoration: underline; }
