:root {
  --cbci-dark: #1f2933;
  --cbci-darker: #111827;
  --cbci-muted: #667085;
  --cbci-border: #e5e7eb;
  --cbci-white: #ffffff;
  --cbci-gold: #b99a5b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--cbci-dark);
  background: var(--cbci-white);
}
a { color: inherit; }

.cbci-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 56px;
  background: var(--cbci-white);
  border-bottom: 1px solid rgba(0,0,0,.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cbci-site-title,
.cbci-logo-wrap a {
  font-family: "Adamina", serif;
  font-size: 24px;
  text-decoration: none;
  color: #111;
  white-space: nowrap;
}

.custom-logo { max-height: 70px; width: auto; }

.cbci-nav { flex: 1; display: flex; justify-content: flex-end; }
.cbci-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}
.cbci-menu li { position: relative; }
.cbci-menu a {
  display: block;
  padding: 34px 18px;
  text-decoration: none;
  color: #20242a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cbci-menu a:hover { color: var(--cbci-gold); }
.cbci-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--cbci-darker);
  list-style: none;
  padding: 12px 0;
  margin: 0;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}
.cbci-menu li:hover > .sub-menu { display: block; }
.cbci-menu .sub-menu a {
  color: #fff;
  padding: 12px 20px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.cbci-search-toggle,
.cbci-menu-toggle,
.cbci-search-close,
.cbci-back-top {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--cbci-dark);
}
.cbci-search-toggle { text-transform: uppercase; font-size: 13px; }
.cbci-menu-toggle { display: none; width: 40px; }
.cbci-menu-toggle span { display: block; height: 2px; background: #111; margin: 7px 0; }

.cbci-search-panel {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.cbci-search-panel.is-open { display: flex; }
.cbci-search-panel form { width: min(760px, 100%); display: flex; gap: 12px; }
.cbci-search-panel input {
  flex: 1;
  padding: 20px;
  font-size: 22px;
  border: 0;
}
.cbci-search-panel button[type="submit"], .cbci-btn {
  display: inline-block;
  background: var(--cbci-dark);
  color: #fff;
  padding: 15px 28px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .03em;
  border: 0;
}
.cbci-btn:hover { background: var(--cbci-gold); color: #fff; }
.cbci-btn-inverse { background: #fff; color: var(--cbci-dark); }
.cbci-search-close {
  position: absolute;
  top: 32px;
  right: 40px;
  color: #fff;
}

.cbci-hero {
  min-height: 620px;
  background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.38)), linear-gradient(135deg,#4b5563,#111827);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 70px;
}
.cbci-hero-content { max-width: 650px; color: #fff; }
.cbci-hero h1 {
  font-family: "Adamina", serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  font-weight: 400;
}
.cbci-hero p {
  font-size: 19px;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 600px;
}

.cbci-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--cbci-dark);
}
.cbci-hero-card {
  min-height: 210px;
  padding: 36px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.13);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: .25s ease;
}
.cbci-hero-card:hover { background: var(--cbci-darker); }
.cbci-hero-card h2 {
  font-family: "Adamina", serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 12px;
}
.cbci-hero-card p { margin: 0; line-height: 1.65; color: rgba(255,255,255,.86); }
.cbci-hero-card span {
  margin-top: 24px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--cbci-gold);
}

.cbci-around { padding: 74px 56px 86px; }
.cbci-around h2 {
  font-family: "Adamina", serif;
  font-size: clamp(32px, 4vw, 46px);
  text-align: center;
  font-weight: 400;
  margin: 0 0 46px;
}
.cbci-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.cbci-box {
  border: 1px solid var(--cbci-border);
  background: #fff;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cbci-box:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.cbci-box-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.cbci-img-one { background: linear-gradient(135deg,#cbd5e1,#64748b); }
.cbci-img-two { background: linear-gradient(135deg,#e5e7eb,#9ca3af); }
.cbci-img-three { background: linear-gradient(135deg,#d6d3d1,#78716c); }
.cbci-box-copy { padding: 26px 26px 30px; }
.cbci-box h3 {
  font-family: "Adamina", serif;
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 10px;
}
.cbci-box p { margin: 0; color: var(--cbci-muted); line-height: 1.65; }

.cbci-footer { background: var(--cbci-dark); color: #fff; }
.cbci-contact-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding: 42px 56px;
  max-width: 1180px;
  margin: 0 auto;
}
.cbci-footer h3 {
  font-family: "Adamina", serif;
  font-weight: 400;
  margin: 0 0 12px;
  color: #fff;
}
.cbci-footer p { margin: 0; line-height: 1.65; color: rgba(255,255,255,.86); }
.cbci-footer-action { display: flex; align-items: center; justify-content: flex-end; }
.cbci-copyright {
  border-top: 1px solid rgba(255,255,255,.13);
  padding: 22px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.cbci-copyright p { margin: 0; }
.cbci-footer-menu { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.cbci-footer-menu a { color: #fff; text-decoration: none; }
.cbci-back-top { color: #fff; }
.cbci-default-page { max-width: 980px; margin: 60px auto; padding: 0 24px; }

@media (max-width: 900px) {
  .cbci-header { padding: 0 24px; min-height: 76px; }
  .cbci-menu-toggle { display: block; }
  .cbci-search-toggle { display: none; }
  .cbci-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--cbci-border);
  }
  .cbci-nav.is-open { display: block; }
  .cbci-menu { display: block; }
  .cbci-menu a { padding: 16px 24px; }
  .cbci-menu .sub-menu { position: static; display: block; box-shadow: none; background: #f8fafc; }
  .cbci-menu .sub-menu a { color: var(--cbci-dark); padding-left: 40px; }
  .cbci-hero { min-height: 520px; padding: 44px 28px; }
  .cbci-hero-cards, .cbci-grid, .cbci-contact-bar { grid-template-columns: 1fr; }
  .cbci-around { padding: 54px 24px; }
  .cbci-footer-action { justify-content: flex-start; }
  .cbci-copyright { padding: 22px 24px; justify-content: flex-start; }
}
