/* ==========================================================================
   Home Base Point (homebasepoint.com) — Custom Architectural Stylesheet
   Built on Bootstrap Column Grid Format
   ========================================================================== */

:root {
  --hbp-ivory: #FAF7F2;
  --hbp-linen: #F2ECE1;
  --hbp-sand: #E6DDD0;
  --hbp-white: #FFFFFF;
  --hbp-slate: #192420;
  --hbp-forest: #22332D;
  --hbp-clay: #C25E36;
  --hbp-clay-dark: #A54B27;
  --hbp-brass: #C6A165;
  --hbp-muted: #5A6862;
  --hbp-border: rgba(25, 36, 32, 0.1);
  --hbp-shadow-sm: 0 8px 24px rgba(25, 36, 32, 0.06);
  --hbp-shadow-md: 0 18px 42px rgba(25, 36, 32, 0.10);
  --hbp-shadow-lg: 0 28px 64px rgba(25, 36, 32, 0.14);
  --hbp-radius: 14px;
  --hbp-radius-lg: 22px;
  --hbp-transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--hbp-ivory);
  color: var(--hbp-slate);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .editorial-heading {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--hbp-slate);
  letter-spacing: -0.01em;
  line-height: 1.18;
}

/* ==========================================================================
   Logo — Strictly One Single Line, Uniform Same Style Everywhere
   ========================================================================== */
.brand-logo {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.32rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  display: inline-block !important;
  line-height: 1.2 !important;
  color: var(--hbp-slate) !important;
  text-decoration: none !important;
  transition: opacity 0.25s ease;
}

.brand-logo:hover,
.brand-logo:focus {
  color: var(--hbp-slate) !important;
  opacity: 0.85;
}

.brand-logo-light,
.brand-logo-light:hover,
.brand-logo-light:focus {
  color: var(--hbp-white) !important;
}

@media (max-width: 400px) {
  .brand-logo {
    font-size: 1.08rem !important;
    letter-spacing: 0.04em !important;
  }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-navbar {
  background-color: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hbp-border);
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  transition: var(--hbp-transition);
}

.site-navbar.scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  box-shadow: 0 10px 30px rgba(25, 36, 32, 0.07);
}

.site-navbar .nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--hbp-slate);
  padding: 0.5rem 0.9rem !important;
  position: relative;
  transition: color 0.25s ease;
}

.site-navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  background-color: var(--hbp-clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--hbp-clay);
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   Buttons & Interactive Controls
   ========================================================================== */
.btn-brand {
  background-color: var(--hbp-clay);
  color: var(--hbp-white);
  border: 1px solid var(--hbp-clay);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.78rem 1.65rem;
  border-radius: 50px;
  transition: var(--hbp-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--hbp-clay-dark);
  border-color: var(--hbp-clay-dark);
  color: var(--hbp-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(194, 94, 54, 0.28);
}

.btn-outline-slate {
  background-color: transparent;
  color: var(--hbp-slate);
  border: 1.5px solid rgba(25, 36, 32, 0.3);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.65rem;
  border-radius: 50px;
  transition: var(--hbp-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-slate:hover,
.btn-outline-slate:focus {
  background-color: var(--hbp-slate);
  border-color: var(--hbp-slate);
  color: var(--hbp-white);
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  background-color: transparent;
  color: var(--hbp-white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.65rem;
  border-radius: 50px;
  transition: var(--hbp-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus {
  background-color: var(--hbp-white);
  border-color: var(--hbp-white);
  color: var(--hbp-slate);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section Eyebrows & Decorative Elements
   ========================================================================== */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hbp-clay);
  background-color: rgba(194, 94, 54, 0.1);
  padding: 0.42rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.eyebrow-badge-light {
  color: var(--hbp-brass);
  background-color: rgba(198, 161, 101, 0.16);
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.bg-linen {
  background-color: var(--hbp-linen);
}

.bg-slate-deep {
  background-color: var(--hbp-slate);
  color: var(--hbp-white);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(194, 94, 54, 0.14), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(198, 161, 101, 0.12), transparent 45%);
}

/* ==========================================================================
   Hero Showcase
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 4.2rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(198, 161, 101, 0.14), transparent 36%),
    radial-gradient(circle at 92% 85%, rgba(194, 94, 54, 0.10), transparent 38%),
    linear-gradient(180deg, var(--hbp-ivory) 0%, var(--hbp-linen) 100%);
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  line-height: 1.08;
  margin-bottom: 1.35rem;
}

.hero-title em {
  font-style: italic;
  color: var(--hbp-clay);
  font-weight: 500;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--hbp-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--hbp-radius-lg);
  overflow: hidden;
  box-shadow: var(--hbp-shadow-lg);
  border: 6px solid var(--hbp-white);
}

.hero-image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

.hero-floating-tag {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  background: rgba(25, 36, 32, 0.86);
  backdrop-filter: blur(12px);
  color: var(--hbp-white);
  padding: 1.1rem 1.35rem;
  border-radius: var(--hbp-radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-pillars {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--hbp-border);
}

.pillar-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hbp-forest);
}

.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hbp-clay);
  flex-shrink: 0;
}

/* ==========================================================================
   Page Header Banner (Inner Pages)
   ========================================================================== */
.page-hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(194, 94, 54, 0.14), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(198, 161, 101, 0.14), transparent 42%),
    var(--hbp-slate);
  color: var(--hbp-white);
  position: relative;
}

.page-hero h1 {
  color: var(--hbp-white);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  margin-bottom: 0.9rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  max-width: 650px;
}

.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 1.1rem;
}

.breadcrumb-custom a {
  color: var(--hbp-brass);
  text-decoration: none;
}

.breadcrumb-custom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Service Filter Pills & Service Cards (Bootstrap Grid)
   ========================================================================== */
.filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
}

.filter-btn {
  background-color: var(--hbp-white);
  color: var(--hbp-slate);
  border: 1px solid var(--hbp-border);
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--hbp-transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--hbp-slate);
  color: var(--hbp-white);
  border-color: var(--hbp-slate);
  box-shadow: var(--hbp-shadow-sm);
}

.service-card {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hbp-shadow-sm);
  transition: var(--hbp-transition);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--hbp-shadow-md);
  border-color: rgba(194, 94, 54, 0.35);
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--hbp-linen);
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card-img-wrap img {
  transform: scale(1.07);
}

.service-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(25, 36, 32, 0.82);
  backdrop-filter: blur(8px);
  color: var(--hbp-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 50px;
}

.service-card-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--hbp-slate);
  margin-bottom: 0.65rem;
}

.service-card-text {
  color: var(--hbp-muted);
  font-size: 0.94rem;
  margin-bottom: 1.45rem;
  flex-grow: 1;
}

/* ==========================================================================
   Feature / Process / Value Cards
   ========================================================================== */
.craft-card {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--hbp-transition);
  box-shadow: var(--hbp-shadow-sm);
}

.craft-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hbp-shadow-md);
}

.craft-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(194, 94, 54, 0.14), rgba(198, 161, 101, 0.18));
  color: var(--hbp-clay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.craft-card-dark {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hbp-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--hbp-transition);
}

.craft-card-dark:hover {
  background-color: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.craft-card-dark h3,
.craft-card-dark h4 {
  color: var(--hbp-white);
}

.craft-card-dark p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

/* ==========================================================================
   Blog Cards & Blog Detail Article
   ========================================================================== */
.blog-card {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hbp-shadow-sm);
  transition: var(--hbp-transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hbp-shadow-md);
}

.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--hbp-clay);
  margin-bottom: 0.65rem;
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.blog-card-title a {
  color: var(--hbp-slate);
  text-decoration: none;
  transition: color 0.25s ease;
}

.blog-card-title a:hover {
  color: var(--hbp-clay);
}

.blog-read-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--hbp-slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.blog-read-link:hover {
  color: var(--hbp-clay);
  gap: 0.7rem;
}

.article-body {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius-lg);
  padding: clamp(1.75rem, 4vw, 3.4rem);
  box-shadow: var(--hbp-shadow-sm);
}

.article-body h2 {
  font-size: 2rem;
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
}

.article-body h3 {
  font-size: 1.5rem;
  margin-top: 1.7rem;
  margin-bottom: 0.7rem;
}

.article-body p,
.article-body li {
  color: #36433E;
  font-size: 1.03rem;
  line-height: 1.82;
}

.article-callout {
  background-color: var(--hbp-linen);
  border-left: 4px solid var(--hbp-clay);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--hbp-radius) var(--hbp-radius) 0;
  margin: 2rem 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote-card {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--hbp-shadow-sm);
  position: relative;
}

.quote-mark {
  color: var(--hbp-brass);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Forms, Contact & Newsletter Panels
   ========================================================================== */
.form-panel {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--hbp-shadow-md);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--hbp-slate);
  margin-bottom: 0.45rem;
}

.form-control,
.form-select {
  background-color: var(--hbp-ivory);
  border: 1.5px solid rgba(25, 36, 32, 0.14);
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-size: 0.95rem;
  color: var(--hbp-slate);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--hbp-white);
  border-color: var(--hbp-clay);
  box-shadow: 0 0 0 4px rgba(194, 94, 54, 0.14);
}

.contact-info-card {
  background-color: var(--hbp-slate);
  color: var(--hbp-white);
  border-radius: var(--hbp-radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.75rem);
  height: 100%;
  box-shadow: var(--hbp-shadow-md);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(198, 161, 101, 0.18);
  color: var(--hbp-brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-item a {
  color: var(--hbp-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-detail-item a:hover {
  color: var(--hbp-brass);
}

/* ==========================================================================
   Legal Document Styling
   ========================================================================== */
.legal-card {
  background-color: var(--hbp-white);
  border: 1px solid var(--hbp-border);
  border-radius: var(--hbp-radius-lg);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--hbp-shadow-sm);
}

.legal-card h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--hbp-border);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--hbp-forest) 0%, var(--hbp-slate) 100%);
  border-radius: var(--hbp-radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  color: var(--hbp-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--hbp-shadow-lg);
}

.cta-banner h2 {
  color: var(--hbp-white);
}

.site-footer {
  background-color: #131C19;
  color: rgba(255, 255, 255, 0.74);
  padding-top: 4.5rem;
  padding-bottom: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hbp-brass);
  margin-bottom: 1.2rem;
}

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

.footer-links li {
  margin-bottom: 0.62rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--hbp-white);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Smooth filter hide/show */
.service-col.d-none-filter {
  display: none !important;
}
