/* Meridian Climate Services - site styles */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #ffffff;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

a {
  color: #1f5d8c;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: #2b3a42;
  font-weight: 600;
  line-height: 1.25;
}

h2 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e6e9;
  padding-bottom: 8px;
}

h3 { font-size: 18px; }

/* Top bar */
.topbar {
  background: #2b3a42;
  color: #d7dde1;
  font-size: 13px;
}
.topbar a { color: #d7dde1; }
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand { display: flex; align-items: center; }
.brand-mark {
  display: inline-block;
  background: #3f7da8;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 2px;
  margin-right: 9px;
  font-size: 13px;
}
.brand-name { font-weight: 600; color: #fff; font-size: 14px; }
.topbar-contact .sep { margin: 0 8px; color: #5b6b74; }

/* Main nav */
.mainnav {
  background: #f4f6f7;
  border-bottom: 1px solid #dde2e5;
}
.mainnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.mainnav li a {
  display: block;
  padding: 12px 16px;
  color: #3a4a52;
  font-size: 14px;
  font-weight: 600;
}
.mainnav li a:hover {
  background: #e7ecee;
  text-decoration: none;
}

/* Hero */
.hero {
  background: #e9eef1;
  border-bottom: 1px solid #dde2e5;
  padding: 46px 0;
}
.hero h1 {
  font-size: 30px;
  margin: 0 0 12px 0;
}
.hero-sub {
  font-size: 17px;
  color: #4d5b63;
  max-width: 640px;
  margin: 0 0 20px 0;
}

.btn {
  display: inline-block;
  background: #3f7da8;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { background: #356d92; text-decoration: none; }

/* Sections */
section { padding: 38px 0; }
.intro { background: #fff; }
.intro p {
  font-size: 16px;
  color: #444;
  max-width: 820px;
}

.services { background: #fafbfb; border-top: 1px solid #eef1f2; border-bottom: 1px solid #eef1f2; }
.cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.card {
  background: #fff;
  border: 1px solid #e2e6e9;
  border-radius: 3px;
  padding: 18px;
  margin: 10px;
  flex: 1 1 300px;
}
.card h3 { margin-top: 0; margin-bottom: 8px; }
.card p { margin: 0; color: #51606a; font-size: 15px; }

/* Maintenance table */
.plan-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin: 6px 0 14px 0;
  font-size: 15px;
}
.plan-table th, .plan-table td {
  border: 1px solid #dde2e5;
  padding: 9px 12px;
  text-align: left;
}
.plan-table thead th {
  background: #eef2f4;
  color: #2b3a42;
}
.note { color: #6a7780; font-size: 14px; }

/* About */
.about-inner { display: flex; flex-wrap: wrap; gap: 30px; }
.about-text { flex: 2 1 480px; }
.about-side { flex: 1 1 220px; }
.about-side {
  background: #f4f6f7;
  border: 1px solid #e2e6e9;
  border-radius: 3px;
  padding: 16px 18px;
  align-self: flex-start;
}
.creds {
  margin: 14px 0 0 0;
  padding-left: 20px;
  color: #51606a;
  font-size: 15px;
}
.creds li { margin-bottom: 5px; }

/* Contact */
.contact { background: #fafbfb; border-top: 1px solid #eef1f2; }
.contact-inner { display: flex; flex-wrap: wrap; gap: 32px; }
.contact-form-wrap { flex: 2 1 460px; }
.contact-info { flex: 1 1 260px; color: #4d5b63; font-size: 15px; }
.contact-info h3 { margin-top: 0; }

.contact-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #3a4a52;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #cbd2d7;
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
  font-weight: normal;
  color: #333;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3f7da8;
}
.form-note { font-size: 12px; color: #8a949b; font-weight: normal; margin-top: 8px; }

.hours { margin-top: 16px; }

/* Footer */
.sitefooter {
  background: #2b3a42;
  color: #b9c2c8;
  font-size: 13px;
  padding: 18px 0;
}
.sitefooter a { color: #b9c2c8; }
.sitefooter-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a { margin-left: 16px; }
.footer-links a:first-child { margin-left: 0; }

/* Responsive */
@media (max-width: 640px) {
  .topbar-inner { flex-direction: column; gap: 4px; align-items: flex-start; }
  .hero h1 { font-size: 24px; }
  .mainnav li a { padding: 10px 12px; }
  .footer-links a { margin-left: 0; margin-right: 14px; }
}
