/* Provision – static site styles */
:root {
  --navy: #1b325e;
  --green: #06845a;
  --green-soft: #3d8a5f;
  --bg: #f7f7f7;
  --text: #222;
  --muted: #555;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; max-width: 1400px;
}
.logo img { width: 220px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px; color: #111;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); border-bottom-color: var(--green); }
.nav-toggle, .nav-toggle-label { display: none; }

/* About us dropdown */
.has-sub { position: relative; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: -16px; padding: 10px 0; margin-top: 8px;
  background: #fff; min-width: 200px; box-shadow: 0 6px 18px rgba(0,0,0,.12);
  border-top: 4px solid var(--green);
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.nav .sub a { display: block; padding: 8px 16px; border-bottom: 0; font-weight: 400; }
.nav .sub a:hover { background: var(--bg); }

@media (max-width: 1100px) {
  .nav-toggle-label {
    display: block; cursor: pointer; font-size: 28px; color: var(--navy); padding: 8px;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #e6e6e6;
  }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
  .nav-toggle:checked ~ .nav { display: block; }
  /* phones: show the submenu indented under About us */
  .nav .sub { display: block; position: static; box-shadow: none; border-top: 0; margin: 0; padding: 0 0 0 18px; }
  .nav .sub::before { display: none; }
  .nav .sub a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .logo img { width: 170px; }
}

/* ---------- Page banner ---------- */
.banner { background: var(--navy); color: #fff; text-align: center; padding: 40px 20px 44px; }
.banner h1 { margin: 0; font-size: 46px; font-weight: 900; line-height: 1.15; }
.banner .rule { width: 95px; height: 2px; background: var(--green); margin: 18px auto; border: 0; }
.banner p { margin: 0 auto; max-width: 620px; font-size: 21px; font-weight: 700; }

/* ---------- Generic sections ---------- */
section { padding: 50px 0; }
.lead { font-size: 22px; text-align: center; max-width: 1000px; margin: 0 auto; }
.lead-lg { font-size: 32px; font-weight: 300; text-align: center; max-width: 1000px; margin: 40px auto 0; line-height: 1.35; }

.btn-login {
  display: block; text-align: center; text-decoration: none;
  background: var(--navy); color: #fff; font-size: 26px; font-weight: 700;
  padding: 26px 20px; border-radius: 16px; transition: background .2s;
}
.btn-login:hover { background: #24427a; }

/* Green cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.card {
  background: var(--green); color: #fff; padding: 30px 26px; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.card svg { width: 40px; height: 40px; stroke: #fff; fill: none; stroke-width: 1.6; margin-bottom: 18px; }
.card h3 { margin: 0 0 18px; font-size: 18px; }
.card p { margin: 0; font-weight: 700; font-size: 17px; }

.card-row { display: flex; gap: 18px; align-items: flex-start; }
.card-row svg { width: 90px; height: 90px; flex-shrink: 0; stroke-width: 2.2; }
.card-row h3 { font-size: 34px; margin: 0 0 12px; line-height: 1.1; }

/* Two-column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split p { font-size: 21px; margin-top: 0; }

/* Partners */
.partner { max-width: 860px; margin: 60px auto 0; text-align: center; }
.partner img { margin: 0 auto 40px; }
.partner .card { max-width: 600px; margin: 0 auto; text-align: left; border-radius: 0; }
.partner .card p { font-size: 16px; }

/* Process */
.info-card { background: var(--green); color: #fff; padding: 22px 14px; border-radius: 6px; margin-bottom: 40px; }
.info-card h3 { margin: 0 0 22px; font-size: 17px; font-weight: 700; }
.info-card p { margin: 0; font-weight: 700; font-size: 15px; }

/* SMART system features */
.feature-box { background: var(--green-soft); color: #fff; padding: 60px 20px 50px; margin-top: 70px; }
.feature-box h2 { font-size: 40px; font-weight: 400; margin: 0 0 30px; line-height: 1.3; }
.feature-box ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px;
  font-size: 21px; font-weight: 300;
}
.feature-box li::before { content: "• "; }

/* Videos */
.video { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 70px; }
.video a.thumb {
  position: relative; display: block; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video a.thumb:hover, .video a.thumb:focus-visible {
  transform: scale(.95); box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.video a.thumb::after {
  content: "▶"; position: absolute; inset: 0; margin: auto; width: 72px; height: 72px;
  border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 30px;
  display: flex; align-items: center; justify-content: center; padding-left: 6px;
}
.video h2 { font-size: 24px; letter-spacing: -.5px; margin: 0 0 20px; }
.video p, .video li { font-weight: 700; font-size: 19px; }

/* Products (expand / collapse lists) */
.product-group { border-bottom: 1px solid #e3e3e3; padding: 34px 0 26px; }
.product-group summary {
  list-style: none; cursor: pointer; font-size: 34px; font-weight: 400; letter-spacing: -.5px;
  display: flex; justify-content: space-between; align-items: center;
}
.product-group summary::-webkit-details-marker { display: none; }
.product-group summary::after {
  content: ""; width: 56px; height: 9px; background: var(--green-soft); flex-shrink: 0;
  margin-left: 20px; transition: transform .2s;
}
.product-group:not([open]) summary::after {
  /* collapsed: show a plus sign */
  background: linear-gradient(var(--green-soft), var(--green-soft)) center / 56px 9px no-repeat,
              linear-gradient(var(--green-soft), var(--green-soft)) center / 9px 40px no-repeat;
  height: 40px; width: 56px;
}
.product-group ul { margin: 30px 0 0; padding-left: 58px; }
.product-group li { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
@media (max-width: 900px) {
  .product-group summary { font-size: 26px; }
  .product-group li { font-size: 18px; }
  .product-group ul { padding-left: 24px; }
}

/* Calculator */
.calc-frame { background: #fff; max-width: 1150px; margin: 0 auto; }
.calc-frame iframe { display: block; width: 100%; height: 1100px; border: 0; }
.placeholder {
  border: 2px dashed #b9c3d3; background: #fbfcfe; color: var(--muted);
  padding: 30px; text-align: center; border-radius: 8px;
}

/* Contact */
.contact-info { font-size: 23px; }
.contact-info p { margin: 0 0 26px; line-height: 1.1; }
.contact-info a { text-decoration: none; }
form label { display: block; font-weight: 700; font-size: 15px; margin: 0 0 4px; }
form input, form textarea {
  width: 100%; max-width: 390px; padding: 12px 18px; margin-bottom: 14px;
  border: 1px solid #e3e3e3; border-radius: 22px; font: inherit; background: #f9f9f9;
}
form textarea { max-width: 415px; min-height: 95px; resize: vertical; }
form button {
  width: 100%; max-width: 390px; background: var(--green-soft); color: #fff; border: 0;
  border-radius: 24px; padding: 15px; font-weight: 900; font-size: 12px; letter-spacing: .5px;
  cursor: pointer; margin-top: 12px;
}
form button:hover { background: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 70px 0 60px; font-size: 15px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 40px; max-width: 1100px; }
.site-footer h4 { margin: 0 0 30px; font-size: 16px; }
.site-footer address { font-style: normal; line-height: 1.85; }
.site-footer .email { display: inline-block; margin-top: 12px; }
.site-footer .footer-logo { background: #fff; border-radius: 10px; padding: 18px 16px; width: 305px; margin-top: 40px; }
.site-footer ul { list-style: none; padding: 0; margin: 30px 0 0; }
.site-footer li { margin-bottom: 18px; }
.site-footer ul a { text-decoration: none; font-weight: 700; }
.site-footer ul a:hover { text-decoration: underline; }
.copyright { text-align: center; font-size: 13px; opacity: .7; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .split, .video { grid-template-columns: 1fr; gap: 26px; }
  .feature-box ul { grid-template-columns: 1fr 1fr; }
  .banner h1 { font-size: 36px; }
  .banner p, .split p { font-size: 18px; }
  .card-row h3 { font-size: 26px; }
  .lead-lg { font-size: 24px; }
  .feature-box h2 { font-size: 28px; }
  .btn-login { font-size: 20px; }
  .site-footer .container { flex-direction: column; }
}
@media (max-width: 520px) {
  .feature-box ul { grid-template-columns: 1fr; }
  .site-footer .footer-logo { width: 100%; }
}
