/**
 * Shared site chrome — matches homepage Header / Footer
 */

.ct-site-body {
  background: var(--ct-dark, #333333);
  color: var(--ct-light, #fcfcfc);
  margin: 0;
}

/* Header */
.ct-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(51, 51, 51, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.ct-site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ct-site-nav a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.25s;
}

.ct-site-nav a:hover,
.ct-site-nav a.is-active {
  color: #fdbd5b;
}

.ct-site-nav .ct-nav-cta {
  padding: 0.65rem 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #fdbd5b 0%, #fb8c84 100%);
  color: #333333 !important;
  font-weight: 500;
  transition: box-shadow 0.25s;
}

.ct-site-nav .ct-nav-cta:hover {
  box-shadow: 0 10px 25px -8px rgba(253, 189, 91, 0.35);
  color: #333333 !important;
}

.ct-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.ct-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fcfcfc;
}

/* Footer */
.ct-site-footer {
  background: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 1.5rem;
  margin-top: 0;
}

.ct-site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ct-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.ct-footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.ct-footer-brand p,
.ct-footer-contact p {
  color: #b3b3b3;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.ct-site-footer h4 {
  color: #fcfcfc;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

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

.ct-site-footer ul li {
  margin-bottom: 0.5rem;
}

.ct-site-footer ul a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.ct-site-footer ul a:hover,
.ct-footer-meta a:hover {
  color: #fdbd5b;
}

.ct-footer-label {
  font-weight: 500;
  margin-bottom: 0.25rem !important;
}

.ct-footer-label.ct-gold { color: #fdbd5b !important; }
.ct-footer-label.ct-coral { color: #fb8c84 !important; }

.ct-footer-meta {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.75rem !important;
}

.ct-footer-meta a {
  color: #b3b3b3;
  text-decoration: none;
}

.ct-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ct-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: #333333;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.ct-footer-social a:hover {
  border-color: #fdbd5b;
  background: rgba(253, 189, 91, 0.1);
  color: #fdbd5b;
}

.ct-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ct-footer-bottom p {
  margin: 0;
  color: #b3b3b3;
  font-size: 0.9rem;
}

.ct-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.ct-footer-legal a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.9rem;
}

.ct-footer-legal a:hover {
  color: #fdbd5b;
}

@media (max-width: 960px) {
  .ct-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ct-nav-toggle {
    display: flex;
  }

  .ct-site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem 1.25rem;
  }

  .ct-site-nav.is-open {
    display: flex;
  }

  .ct-site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ct-site-nav .ct-nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .ct-site-header {
    position: relative;
  }

  .ct-site-header.is-open {
    position: sticky;
  }

  .ct-footer-grid {
    grid-template-columns: 1fr;
  }
}
