
:root {
  --red: #e73535;
  --blue: #20a9d8;
  --ink: #15191d;
  --muted: #687078;
  --line: #e7eaed;
  --bg: #ffffff;
  --soft: #f7f8f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { width: min(1080px, calc(100% - 32px)); margin: auto; }
header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
.nav {
  min-height: 70px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand { display:flex; align-items:center; gap:10px; font-weight:800; text-decoration:none; color:var(--ink); }
.brand img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.brand span { font-size: 18px; }
nav a { color: var(--ink); text-decoration:none; margin-left:22px; font-size:14px; }
nav a:hover { color:var(--red); }
.hero {
  padding: 78px 0 70px;
  background: linear-gradient(135deg, #fff 0%, #f7fafb 100%);
}
.hero-grid { display:grid; grid-template-columns: 1.25fr .75fr; gap:50px; align-items:center; }
.badge {
  display:inline-block; padding:7px 12px; border-radius:999px;
  background:#fff0f0; color:#c62828; font-size:13px; font-weight:700;
}
h1 { font-size: clamp(36px, 6vw, 60px); line-height:1.08; margin:18px 0; letter-spacing:-1.5px; }
h2 { font-size:32px; line-height:1.2; margin:0 0 12px; }
.lead { font-size:18px; color:var(--muted); max-width:650px; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.btn {
  display:inline-block; padding:12px 18px; border-radius:9px; text-decoration:none;
  font-weight:700; font-size:14px; border:1px solid var(--ink);
}
.btn.primary { background:var(--ink); color:#fff; border-color:var(--ink); }
.btn.secondary { background:#fff; color:var(--ink); }
.logo-card {
  background:#fff; border:1px solid var(--line); border-radius:24px; padding:35px;
  box-shadow:0 15px 45px rgba(0,0,0,.07); text-align:center;
}
.logo-card img { width:190px; height:190px; border-radius:50%; object-fit:cover; }
.logo-card strong { display:block; margin-top:18px; font-size:22px; }
section { padding:72px 0; }
.section-head { max-width:650px; margin-bottom:30px; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card {
  border:1px solid var(--line); border-radius:14px; padding:24px; background:#fff;
}
.card h3 { margin:0 0 8px; font-size:18px; }
.card p { margin:0; color:var(--muted); font-size:14px; }
.about { background:var(--soft); }
.contact-box {
  border-radius:18px; padding:34px; background:var(--ink); color:#fff;
  display:flex; justify-content:space-between; gap:30px; align-items:center;
}
.contact-box p { color:#d7dce0; margin:8px 0 0; }
.contact-box .btn { background:#fff; color:var(--ink); border-color:#fff; white-space:nowrap; }
footer { border-top:1px solid var(--line); padding:28px 0; color:var(--muted); font-size:13px; }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-links a { color:var(--muted); text-decoration:none; margin-left:16px; }
.page { padding:60px 0 90px; max-width:800px; }
.page h1 { font-size:42px; }
.page h2 { font-size:24px; margin-top:34px; }
.page p, .page li { color:#4f5961; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns:1fr; }
  .grid { grid-template-columns:1fr; }
  nav { display:none; }
  .contact-box { flex-direction:column; align-items:flex-start; }
  .hero { padding-top:52px; }
}


/* ===== SMI LOGO — uses /public_html/logo.png ===== */
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  flex:0 0 64px;
  margin:0;
  padding:0;
  line-height:0;
  text-decoration:none;
}
.logo{
  display:block;
  width:58px;
  height:58px;
  max-width:58px;
  max-height:58px;
  margin:0;
  padding:0;
  object-fit:contain;
  object-position:center;
  border:0;
  border-radius:50%;
  flex:0 0 58px;
}
@media(max-width:680px){
  .logo-link{
    width:58px;
    height:58px;
    flex-basis:58px;
  }
  .logo{
    width:52px;
    height:52px;
    max-width:52px;
    max-height:52px;
    flex-basis:52px;
  }
}
