/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --smcc-green:    var(--brand-highlight,  #76bd43);
  --smcc-dark:     var(--brand-primary,    #033436);
  --smcc-sea:      var(--brand-accent,     #59c5c7);
  --smcc-orange:   #ec9a29;
  --ink:           #1a1a1a;
  --body-font:     'Open Sans', sans-serif;
  --footer-font:   'Noto Sans', sans-serif;
}

body {
  font-family: var(--body-font);
  font-weight: 300;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fff;
}

/* ── Shared site-width container ── */
.site-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  box-sizing: border-box;
}

/* ── Site navbar (SMCC-style) ── */
.print-bar {
  background: #fff;
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 5px solid var(--smcc-dark);
  height: 100px;
}
.print-bar .site-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.print-bar-logo {
  display: flex; align-items: center;
  flex-shrink: 0; text-decoration: none;
}
.print-bar-logo svg { height: 74px; width: auto; display: block; }
.print-bar-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex: 1;
  justify-content: flex-start;
  padding-left: 4px;
}
.print-bar-nav a {
  font-size: 15px;
  font-weight: 400;
  color: #57636b;
  text-decoration: none;
  padding: 0 14px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.print-bar-nav a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2.5px solid var(--smcc-green);
  border-top: 2.5px solid var(--smcc-green);
  transform: rotate(45deg);
  margin-left: 10px;
  flex-shrink: 0;
}
.print-bar-nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--smcc-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.print-bar-nav a:hover { color: var(--smcc-dark); }
.print-bar-nav a:hover::before { transform: scaleX(1); }
.print-bar-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.pba-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--smcc-dark);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}
.pba-icon:hover { background: #055558; }
.pba-icon svg { display: block; width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-print {
  background: var(--smcc-green);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--body-font);
  transition: background 0.15s;
  line-height: 1;
}
.btn-print:hover { background: #5ea336; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cdd5cc;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--body-font);
  transition: all 0.15s;
  line-height: 1;
}
.btn-outline:hover { border-color: var(--smcc-dark); color: var(--smcc-dark); }

/* ── Newsletter strip (orange) ── */
.newsletter-strip { background: rgb(236, 154, 41); }
.newsletter-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 20px 32px 20px 130px;
  display: flex; align-items: center; gap: 24px; min-height: 120px;
}
.newsletter-icon {
  flex-shrink: 0; width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.newsletter-icon svg { width: 60px; height: 60px; }
.newsletter-text { flex: 0 0 540px; min-width: 0; }
.newsletter-text h3 {
  font-family: var(--body-font); font-size: 20px; font-weight: 400;
  color: #fff; margin: 0 0 4px; line-height: 1.2;
}
.newsletter-text p {
  font-family: var(--body-font); font-size: 15px; font-weight: 400;
  color: rgba(255,255,255,0.7); line-height: 1.45; margin: 0;
}
.newsletter-btn {
  flex-shrink: 0; display: flex; align-items: stretch;
  background: var(--smcc-dark);
  text-decoration: none; font-family: var(--body-font); white-space: nowrap;
  width: 255px;
}
.newsletter-btn .nb-text {
  flex: 1; padding: 8px 16px; color: #fff; font-size: 20px; font-weight: 400;
  display: flex; align-items: center;
}
.newsletter-btn .nb-arrow {
  background: #59c5c7; padding: 8px 14px; color: #fff;
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.newsletter-btn:hover { opacity: 0.9; }

/* ── Site footer ── */
.site-footer { font-family: var(--footer-font); display: flex; flex-direction: column; }
.footer-upper { background: var(--smcc-dark); }
.footer-upper-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.site-footer-grid {
  display: grid;
  grid-template-columns: 250px 0.9fr 1fr;
  column-gap: 0;
  padding: 70px 0;
  align-items: start;
}
.footer-col-wrap { padding: 0 10px 0 0; }
.footer-col-wrap:nth-child(2) {
  position: relative;
  padding: 0 30px 0 80px;
}
.footer-col-wrap:nth-child(2)::before {
  content: '';
  position: absolute;
  left: 0; top: 8%; height: 84%;
  border-left: 1px dashed rgba(255,255,255,0.13);
  pointer-events: none;
}
.footer-col-wrap:nth-child(3) { padding: 0 0 0 30px; }
.footer-col-wrap h4 {
  font-family: var(--body-font);
  font-size: 19px; font-weight: 100;
  color: #fff; margin: 0 0 5px;
}
.footer-col-wrap ul { list-style: none; margin: 14px 0 0; padding: 0; }
.footer-col-wrap ul li { padding: 5px 0; margin: 0; }
.footer-col-wrap ul li a {
  font-family: var(--footer-font);
  font-size: 14px; font-weight: 300;
  color: #bbc0c3; text-decoration: none; line-height: 18px;
  transition: color 0.15s;
}
.footer-col-wrap ul li a:hover { color: #76bd1d; }
.footer-support-desc {
  font-family: var(--footer-font);
  font-size: 13px; font-weight: 300;
  color: #d2d6d9; margin: 14px 0 16px;
}
.footer-contact-btn {
  display: inline-block;
  background: rgb(118, 189, 29);
  color: #fff; font-family: var(--body-font);
  font-size: 19px; font-weight: 400;
  padding: 8px 60px; border-radius: 3px;
  text-decoration: none; margin-bottom: 14px;
  transition: background 0.15s;
}
.footer-contact-btn:hover { background: #5ea336; }
.footer-phone {
  display: block; font-family: var(--body-font);
  font-size: 30px; font-weight: 700;
  color: rgb(118, 189, 29); letter-spacing: 0.04em;
  margin-bottom: 20px; text-decoration: none;
}
.footer-phone:hover { color: #5ea336; }
.footer-social-heading {
  font-family: var(--body-font);
  font-size: 19px; font-weight: 100;
  color: #fff; margin-bottom: 14px;
}
.footer-social-icons { display: flex; gap: 10px; }
.footer-social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgb(236, 154, 41);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.footer-social-icons a svg { width: 17px; height: 17px; fill: #fff; display: block; }
.footer-social-icons a:hover { transform: translateY(-2px); }
.footer-social-icons a.si-fb:hover { background: #1877f2; }
.footer-social-icons a.si-li:hover { background: #0a66c2; }
.footer-social-icons a.si-x:hover  { background: #000; }
.footer-social-icons a.si-yt:hover { background: #ff0000; }
.footer-social-icons a.si-ig:hover { background: #e4405f; }
.footer-lower { background: rgb(2, 44, 46); }
.footer-lower-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.site-footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 0 42px;
  font-family: var(--footer-font);
  font-size: 13px; font-weight: 400;
  color: #bbc0c3; gap: 40px;
}
.site-footer-bottom .footer-addr { flex: 1; min-width: 0; }
.site-footer-bottom .footer-copy { flex-shrink: 0; }
.site-footer-bottom .irm { color: rgb(118, 189, 29); }

/* ── HaaS sub-nav ── */
.haas-subnav {
  background: var(--smcc-dark);
}
.haas-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.haas-subnav-links {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.haas-subnav-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 400;
  padding: 0 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.haas-subnav-links a:hover,
.haas-subnav-links a.active { color: #fff; }
.haas-subnav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--smcc-green);
}
.haas-subnav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.haas-subnav-cta a {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.4;
  min-width: 100px;
  text-align: center;
}
.hsn-login {
  background: var(--smcc-sea);
  color: #fff !important;
  transition: background 0.15s;
}
.hsn-login:hover { background: #3faeb0; }
.hsn-activate {
  background: var(--smcc-green);
  color: #fff !important;
  transition: background 0.15s;
}
.hsn-activate:hover { background: #5ea336; }
@media (max-width: 700px) { .haas-subnav-links { display: none; } }

/* ── Back-to-top button ── */
.back-to-top {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #d2e8b8;
  border: 2px solid #96bb78;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.2s;
  transform: translateY(8px);
  z-index: 900;
  box-shadow: 0 2px 10px rgba(3,52,54,0.13);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: #bfdc9e; box-shadow: 0 4px 16px rgba(3,52,54,0.20); }
.back-to-top svg { display: block; }

/* ── Responsive ── */
@media (max-width: 760px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-wrap:nth-child(3) {
    grid-column: 1 / -1; padding: 24px 0 0;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .newsletter-strip-inner { flex-direction: column; align-items: flex-start; padding-left: 32px; }
  .newsletter-text { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .site-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) { .print-bar-nav { display: none; } }
