/* Page frame matching the live Envirosys contact page */

html, body { overflow-x: hidden; }

body { background: #eef4f8; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6ebf0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a,
.nav-folder-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f2b46;
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.site-nav > a:hover,
.nav-folder-title:hover,
.site-nav .is-active { color: #1c7c54; }

.nav-folder { position: relative; }

/* invisible bridge so the dropdown doesn't vanish while moving the mouse */
.nav-folder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-drop {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  left: -14px;
  min-width: 280px;
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(15, 43, 70, 0.12);
  padding: 8px;
  display: none;
  z-index: 60;
}

.nav-folder:hover .nav-drop,
.nav-folder:focus-within .nav-drop { display: block; }

.nav-drop a {
  display: block;
  padding: 9px 12px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #1f2933;
  text-decoration: none;
  border-radius: 6px;
}

.nav-drop a:hover {
  background: #f2f7fb;
  color: #0f2b46;
}

/* Page */
.site-main {
  flex: 1;
  background: #eef4f8;
  padding: 56px 24px 72px;
}

.page-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.page-grid > * { min-width: 0; }

.page-intro h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  color: #0f2b46;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.intro-strong {
  font-size: 17px;
  font-weight: 700;
  color: #1f2933;
  line-height: 1.45;
  margin: 0 0 16px;
}

.page-intro p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3d4b59;
  margin: 0 0 16px;
  max-width: 560px;
}

.page-intro strong { color: #0f2b46; }

.form-card { padding: 32px; }

.step-heading:focus { outline: none; }
.step-heading:focus-visible {
  outline: 2px solid #1c7c54;
  outline-offset: 4px;
}

/* Footer */
.site-footer {
  background: #141414;
  color: #c9cdd2;
  padding: 56px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  height: 54px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #b9bec5;
  max-width: 360px;
}

.site-footer h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 9px;
  color: #b9bec5;
}

.site-footer a {
  color: #d7dbe0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  color: #d7dbe0;
}

.socials a:hover {
  background: #242424;
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 18px;
  border-top: 1px solid #2c2c2c;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9aa0a7;
}

/* Responsive */
@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-nav { gap: 18px; }
}

@media (max-width: 700px) {
  .site-header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }
  .site-logo img { height: 34px; }
  .site-nav {
    width: 100%;
    gap: 10px 18px;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .nav-drop { display: none !important; }
  .page-intro h1 { font-size: 36px; }
  .page-intro p { font-size: 15px; }
  .site-main { padding: 32px 16px 44px; }
  .form-card { padding: 20px 14px; }
  .progress { gap: 0; }
  .progress-dot { width: 26px; height: 26px; font-size: 10px; }
  .progress-item::before, .progress-item::after { top: 12px; }
  .progress-label { font-size: 8px; letter-spacing: 0.04em; }
  .step-heading { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
