/* ---------- Top info bar + brand stripe ---------- */
.ctws-topbar {
  background: #182430;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
}
.ctws-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 6vw;
  text-align: center;
}
.ctws-topbar a {
  color: var(--coral-2);
  font-weight: 600;
}

.ctws-stripe {
  height: 4px;
  background: linear-gradient(
    90deg,
    #2b7fd6 0%,
    #2b7fd6 20%,
    #56c4e6 20%,
    #56c4e6 40%,
    #e08a1e 40%,
    #e08a1e 60%,
    #e8552e 60%,
    #e8552e 80%,
    #2a9d5c 80%,
    #2a9d5c 100%
  );
}

/* ---------- Header ---------- */
.ctws-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--surface);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ctws-site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(24, 36, 48, 0.08);
}
.ctws-site-header.is-hidden {
  transform: translateY(-100%);
}
.ctws-site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ctws-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.ctws-logo-mark {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
}
.ctws-logo-tagline {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.ctws-nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ctws-nav-list li {
  position: relative;
}
.ctws-nav-list a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.ctws-nav-list a:hover {
  color: var(--coral);
}
.ctws-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(24, 36, 48, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.ctws-nav-list li:hover > .sub-menu,
.ctws-nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ctws-nav-list .sub-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
}

.ctws-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.ctws-nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

@media (max-width: 880px) {
  .ctws-nav-toggle {
    display: flex;
  }
  .ctws-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .ctws-nav.ctws-menu-open {
    max-height: 480px;
  }
  .ctws-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 6vw 20px;
  }
  .ctws-nav-list li {
    width: 100%;
  }
  .ctws-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 14px;
    display: none;
  }
  .ctws-nav-list li:hover > .sub-menu,
  .ctws-nav-list li:focus-within > .sub-menu {
    display: block;
  }
}

/* ---------- Footer ---------- */
.ctws-site-footer {
  background: #152227;
  color: #93a1a6;
}
.ctws-footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 6vw 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ctws-footer-tagline {
  color: var(--coral-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 10px 0 16px;
}
.ctws-footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 280px;
}
.ctws-footer-learn-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}
.ctws-footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.ctws-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ctws-footer-col a {
  color: #93a1a6;
  font-size: 13.5px;
  text-decoration: none;
}
.ctws-footer-col a:hover {
  color: var(--coral-2);
}
.ctws-footer-contact-list {
  margin-bottom: 18px !important;
}
.ctws-footer-follow {
  margin: 22px 0 10px;
  font-size: 12.5px;
}
.ctws-footer-social {
  display: flex;
  gap: 12px;
}
.ctws-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ctws-footer-social a:hover {
  background: var(--coral);
}
.ctws-footer-bottom {
  text-align: center;
  padding: 22px 6vw;
  font-size: 12.5px;
}

@media (max-width: 960px) {
  .ctws-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ctws-footer-main {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating contact widget ---------- */
#ctws-contact-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
}
#ctws-contact-widget-toggle {
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(232, 85, 46, 0.35);
}
#ctws-contact-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(24, 36, 48, 0.22);
  overflow: hidden;
}
.ctws-contact-widget-head {
  background: var(--coral);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}
.ctws-contact-widget-head button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
#ctws-contact-widget-form {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#ctws-contact-widget-form input,
#ctws-contact-widget-form textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: var(--font-body);
  resize: vertical;
}
#ctws-contact-widget-form button {
  margin-top: 4px;
}

@media (max-width: 480px) {
  #ctws-contact-widget-panel {
    width: calc(100vw - 48px);
  }
}
