@keyframes thomas-city-slide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BASE SCOPED RESET */
.thomas-city-page-root {
  background: #F3F4F6;
  color: #5B6472;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  margin:0px;
}

.thomas-city-page-root *,
.thomas-city-page-root *::before,
.thomas-city-page-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.thomas-city-link {
  color: #16294C;
  text-decoration: none;
  transition: color 0.2s;
}

.thomas-city-link:hover {
  color: #C6A03C;
}

.thomas-city-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* LAYOUT WRAPPERS */
.thomas-city-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  background:#F3F4F6;
}

.thomas-city-main {
  flex: 1;
  min-width: 0;
}

.thomas-city-sidebar {
  display: none;
}

.thomas-city-mob-form {
  display: block;
  padding: 0 20px;
}

/* HERO SECTION */
.thomas-city-hero-section {
  position: relative;
  background: #16294C;
  overflow: hidden;
  padding-top:3%;
}

.thomas-city-hero-bg {
  position: absolute;
  inset: 0;
}

.thomas-city-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thomas-city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(22, 41, 76, 0.95) 0%, rgba(22, 41, 76, 0.7) 100%);
}

.thomas-city-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 36px;
}

.thomas-city-breadcrumb-nav {
  margin-bottom: 20px;
}

.thomas-city-breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: #D5DCE8;
  padding: 0;
}

.thomas-city-breadcrumb-link {
  color: #D5DCE8;
  text-decoration: none;
}

.thomas-city-breadcrumb-link:hover {
  color: #C6A03C;
}

.thomas-city-breadcrumb-separator {
  color: #9AA1AC;
}

.thomas-city-breadcrumb-current {
  color: #C6A03C;
}

.thomas-city-hero-eyebrow {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #C6A03C;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.thomas-city-hero-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 12px;
  max-width: 720px;
  text-transform: uppercase;
}

.thomas-city-hero-subtitle {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #D5DCE8;
  margin-bottom: 20px;
  max-width: 600px;
}

.thomas-city-hero-pill {
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 6px;
  margin-bottom: 20px;
  background: rgba(198, 160, 60, 0.2);
  border: 1px solid rgba(198, 160, 60, 0.4);
  border-radius: 100px;
  padding: 6px 16px;
}

.thomas-city-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* BUTTONS */
.thomas-city-btn-primary {
  background: #C6A03C;
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.thomas-city-btn-primary:hover {
  background: #B08E30;
  color: #FFFFFF;
}

.thomas-city-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #C6A03C;
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.thomas-city-btn-secondary:hover {
  background: rgba(198, 160, 60, 0.15);
}

.thomas-city-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(198, 160, 60, 0.1);
  border: 1px solid #C6A03C;
  border-radius: 100px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #16294C;
  text-decoration: none;
  transition: all 0.2s;
}

.thomas-city-pill-btn:hover {
  background: #C6A03C;
  color: #FFFFFF;
}

/* TRUST BADGES STRIP */
.thomas-city-trust-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 41, 76, 0.6);
  backdrop-filter: blur(4px);
  padding: 12px 20px;
}

.thomas-city-trust-container {
  max-width: 1280px;
  margin: 0 auto;
}

.thomas-city-trust-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.thomas-city-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(198, 160, 60, 0.12);
  border: 1px solid rgba(198, 160, 60, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.thomas-city-assoc-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 40px;
  margin-bottom: 12px;
}

.thomas-city-assoc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.8;
}

.thomas-city-assoc-gcba-title {
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #D5DCE8;
  letter-spacing: 0.06em;
}

.thomas-city-assoc-subtext {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 8px;
  color: #9AA1AC;
  text-align: center;
  line-height: 1.2;
}

.thomas-city-assoc-nahb-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 1;
}

.thomas-city-assoc-fhba-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: #FFFFFF;
  line-height: 1;
}

.thomas-city-assoc-realtor-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #FFFFFF;
  line-height: 1;
}

.thomas-city-assoc-bbb-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  opacity: 0.8;
}

/* CARDS & SECTIONS */
.thomas-city-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 36px 28px;
  margin-bottom: 24px;
}

.thomas-city-intro-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 32px 28px;
  border-left: 4px solid #C6A03C;
  position: relative;
}

.thomas-city-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.thomas-city-gold-bar {
  width: 4px;
  height: 28px;
  background: #C6A03C;
  border-radius: 2px;
  flex-shrink: 0;
}

.thomas-city-section-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  color: #16294C;
  line-height: 1.2;
  text-transform: uppercase;
}

.thomas-city-content-block {
  margin-top: 4px;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 10px 14px;
  background: #FAFBFC;
}

.thomas-city-block-title {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #16294C;
    margin-bottom: 12px;
    text-transform: inherit;
    text-align: left;
    letter-spacing: inherit;
}

.thomas-city-block-text {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #5B6472;
}

/* MID-PAGE CONVERSATION BANNER */
.thomas-city-conv-banner {
  position: relative;
  background-color: #034D82;
  border-radius: 8px;
  padding: 44px 24px;
  margin-bottom: 24px;
  overflow: hidden;
  text-align: center;
}

.thomas-city-conv-circle-left {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  left: -60px;
  bottom: -60px;
  pointer-events: none;
}

.thomas-city-conv-circle-right {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  right: -50px;
  top: -50px;
  pointer-events: none;
}

.thomas-city-conv-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.thomas-city-conv-title {
  font-family: "Raleway", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.3;
}

.thomas-city-conv-subtitle {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  color: #D5DCE8;
  margin-bottom: 26px;
  line-height: 1.5;
}

.thomas-city-conv-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.thomas-city-conv-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #C6A03C;
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s;
}

.thomas-city-conv-call-btn:hover {
  background-color: #B08E30;
  color: #FFFFFF;
}

.thomas-city-conv-estimate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #FFFFFF;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.thomas-city-conv-estimate-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* FORMS & INPUTS */
.thomas-city-form-box {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.thomas-city-form-title {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #16294C;
  margin-bottom: 4px;
}

.thomas-city-form-sub {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: #9AA1AC;
  margin-bottom: 16px;
}

.thomas-city-form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thomas-city-label {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #16294C;
  margin-bottom: 3px;
}

.thomas-city-input,
.thomas-city-select,
.thomas-city-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  outline: none;
  background: #FFFFFF;
}

.thomas-city-input:focus,
.thomas-city-select:focus,
.thomas-city-textarea:focus {
  border-color: #C6A03C;
  box-shadow: 0 0 0 3px rgba(198, 160, 60, 0.15);
}

/* TABLE OF CONTENTS (TOC) */
.thomas-city-toc-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-city-toc-title {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #16294C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.thomas-city-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thomas-city-toc-link {
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  color: #5B6472;
  text-decoration: none;
  padding: 8px 14px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.thomas-city-toc-link:hover {
  color: #16294C;
  background-color: #F3F4F6;
}

.thomas-city-toc-link.is-active,
.thomas-city-toc-link.active {
  color: #16294C;
  font-weight: 700;
  background-color: #F3F4F6;
  border-left: 3px solid #C6A03C;
}

/* SERVICES GRID */
.thomas-city-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.thomas-city-svc-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px 20px;
  text-decoration: none;
  border-top: 4px solid #16294C;
  transition: transform 0.2s, box-shadow 0.2s;
}

.thomas-city-svc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.thomas-city-svc-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #16294C;
  display: block;
  margin-bottom: 6px;
}

.thomas-city-svc-desc {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  color: #5B6472;
  display: block;
}

/* FAQ ACCORDION */
.thomas-city-faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.thomas-city-faq-item summary::-webkit-details-marker {
  display: none;
}

.thomas-city-faq-item[open] .thomas-city-faq-icon {
  transform: rotate(180deg);
}

.thomas-city-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  list-style: none;
}

.thomas-city-faq-q {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #16294C;
}

.thomas-city-faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.thomas-city-faq-body {
  padding: 0 0 16px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #5B6472;
}

/* SOCIAL STRIP */
.thomas-city-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: background 0.2s;
}

.thomas-city-social-link:hover {
  background: rgba(198, 160, 60, 0.3);
}

/* RESPONSIVE BREAKPOINTS */
.thomas-city-process-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.thomas-city-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.thomas-city-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.thomas-city-sticky-mob {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #16294C;
  padding: 12px 16px;
  gap: 12px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}








@media (min-width: 768px) {
  .thomas-city-body-wrap {
    flex-direction: row;
    gap: 40px;
    padding: 40px;
    background:#F3F4F6;
  }
  .thomas-city-sidebar {
    display: block;
    width: 280px;
    flex-shrink: 0;
  }
  .thomas-city-mob-form {
    display: none;
  }
  .thomas-city-process-grid {
    flex-direction: row;
    gap: 0;
  }
  .thomas-city-projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .thomas-city-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .thomas-city-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .thomas-city-sticky-mob {
    display: none;
  }
}


/* TABLE OF CONTENTS */
.thomas-city-toc-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.thomas-city-toc-title {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #16294C;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.thomas-city-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thomas-city-toc-link {
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  color: #5B6472;
  text-decoration: none;
  padding: 8px 14px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
}

/* Hover State */
.thomas-city-toc-link:hover {
  color: #16294C;
  background-color: #F3F4F6;
}

/* Active State (Gold line + Gray Background) */
.thomas-city-toc-link.is-active {
  color: #16294C;
  font-weight: 700;
  background-color: #F3F4F6;
  border-left: 3px solid #C6A03C;
}

@media (min-width: 1024px) {
  .thomas-city-svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .thomas-city-sidebar {
    width: 300px;
  }
}

@media (max-width: 767px) {
  .thomas-city-page-root {
    padding-bottom: 72px;
  }
}



@media only screen and (max-width: 767px) {

.thomas-city-body-wrap{flex-direction:column;}


}