/* ==========================================================================
   Home Prime Place (homeprimeplace.com)
   Warm Architectural Atelier Design System — Built on Bootstrap 5
   ========================================================================== */

:root {
  --bg-canvas: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-sand: #F1EBE1;
  --bg-sand-deep: #E6DDD0;
  --bg-forest: #1C2822;
  --bg-forest-soft: #25352D;
  --text-primary: #1A1917;
  --text-secondary: #524E47;
  --text-muted: #767067;
  --text-on-dark: #F7F3EC;
  --text-on-dark-muted: #C8C1B6;
  --accent-bronze: #9A5638;
  --accent-bronze-hover: #7E4329;
  --accent-bronze-soft: rgba(154, 86, 56, 0.10);
  --accent-sage: #385042;
  --accent-sage-soft: rgba(56, 80, 66, 0.10);
  --border-subtle: rgba(26, 25, 23, 0.09);
  --border-strong: rgba(26, 25, 23, 0.16);
  --shadow-soft: 0 12px 32px rgba(26, 25, 23, 0.05);
  --shadow-hover: 0 20px 44px rgba(26, 25, 23, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.68;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.16;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent-bronze);
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

a:hover {
  color: var(--accent-bronze-hover);
}

/* ==========================================================================
   Logo — Strictly One Line with Uniform Style Across All Words
   ========================================================================== */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  text-decoration: none !important;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent-bronze);
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-mark {
  transform: translateY(-1px);
}

.brand-logo-text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap;
  display: inline-block;
}

.brand-logo-light .brand-logo-text {
  color: var(--text-on-dark);
}

.brand-logo-light .brand-logo-mark {
  color: #D89A7C;
}

@media (max-width: 420px) {
  .brand-logo-text {
    font-size: 1.28rem;
  }
  .brand-logo-mark {
    width: 24px;
    height: 24px;
  }
}

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

.site-navbar.scrolled {
  box-shadow: 0 8px 28px rgba(26, 25, 23, 0.06);
  background-color: rgba(250, 247, 242, 0.98);
}

.site-navbar .nav-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: color 0.2s ease;
}

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

.site-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background-color: var(--accent-bronze);
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background-color: var(--bg-surface);
    margin-top: 0.85rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
  }
  .site-navbar .nav-link.active::after {
    display: none;
  }
  .site-navbar .nav-link.active {
    color: var(--accent-bronze);
    font-weight: 600;
  }
}

/* ==========================================================================
   Buttons & Eyebrow Badges
   ========================================================================== */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-bronze);
  margin-bottom: 0.85rem;
}

.eyebrow-label::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background-color: currentColor;
  display: inline-block;
}

.eyebrow-light {
  color: #DF9E7F;
}

.btn-brand {
  background-color: var(--accent-bronze);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(154, 86, 56, 0.20);
  transition: all 0.24s ease;
}

.btn-brand:hover,
.btn-brand:focus {
  background-color: var(--accent-bronze-hover);
  border-color: var(--accent-bronze-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(154, 86, 56, 0.28);
}

.btn-outline-editorial {
  background-color: transparent;
  color: var(--text-primary) !important;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.24s ease;
}

.btn-outline-editorial:hover {
  background-color: var(--text-primary);
  border-color: var(--text-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-outline-light-editorial {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.24s ease;
}

.btn-outline-light-editorial:hover {
  background-color: #FFFFFF;
  color: var(--bg-forest) !important;
  border-color: #FFFFFF;
}

/* ==========================================================================
   Hero & Page Headers
   ========================================================================== */
.hero-home {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 86, 56, 0.08) 0%, rgba(250, 247, 242, 0) 70%);
  pointer-events: none;
}

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

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(26, 25, 23, 0.14);
}

.hero-image-frame img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 390px;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(26, 25, 23, 0.12);
}

.hero-pillars {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 2.25rem;
}

.hero-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-bronze-soft);
  color: var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-hero {
  background: linear-gradient(180deg, var(--bg-sand) 0%, var(--bg-canvas) 100%);
  padding: 4.25rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Section Spacing & Editorial Surfaces
   ========================================================================== */
.section-pad {
  padding: 5.25rem 0;
}

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

.bg-forest {
  background-color: var(--bg-forest);
  color: var(--text-on-dark);
}

.bg-forest h2,
.bg-forest h3,
.bg-forest h4 {
  color: var(--text-on-dark);
}

.bg-forest p {
  color: var(--text-on-dark-muted);
}

.section-heading {
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin-bottom: 1rem;
}

/* ==========================================================================
   Service Cards — Bootstrap Column Grid Format
   Image + Heading + Description + Button Redirecting to Contact Page
   ========================================================================== */
.service-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.filter-pill {
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.52rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--accent-bronze);
  color: var(--text-primary);
}

.filter-pill.active {
  background-color: var(--bg-forest);
  color: #FFFFFF;
  border-color: var(--bg-forest);
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(154, 86, 56, 0.28);
}

.service-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background-color: var(--bg-sand);
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.service-category-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
}

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

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.45rem;
  flex-grow: 1;
}

/* ==========================================================================
   Feature Pillars & Process Cards (Zero Numeric Labels)
   ========================================================================== */
.atelier-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.atelier-card:hover {
  transform: translateY(-4px);
}

.atelier-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--accent-bronze-soft);
  color: var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.forest-feature-card {
  background-color: var(--bg-forest-soft);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
}

/* ==========================================================================
   Blog Cards & Editorial Articles
   ========================================================================== */
.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.blog-card-img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background-color: var(--bg-sand);
}

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

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

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

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

.blog-card-title {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent-bronze);
}

.blog-read-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-bronze);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
}

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

.article-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.article-prose {
  font-size: 1.07rem;
  line-height: 1.82;
}

.article-prose h2 {
  font-size: 2rem;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.article-prose h3 {
  font-size: 1.5rem;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

.article-prose p {
  margin-bottom: 1.3rem;
}

.editorial-pullquote {
  background-color: var(--bg-sand);
  border-left: 4px solid var(--accent-bronze);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2.25rem 0;
}

.editorial-pullquote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ==========================================================================
   Forms, Contact Cards & Newsletter Pages
   ========================================================================== */
.form-panel {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 575.98px) {
  .form-panel {
    padding: 1.65rem;
  }
}

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

.form-control,
.form-select {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.78rem 1rem;
  font-size: 0.96rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--accent-bronze);
  box-shadow: 0 0 0 3px rgba(154, 86, 56, 0.14);
}

.contact-detail-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--accent-bronze-soft);
  color: var(--accent-bronze);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.interest-check-card {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  height: 100%;
}

.interest-check-card:hover {
  border-color: var(--accent-bronze);
  background-color: #FFFFFF;
}

.form-check-input:checked {
  background-color: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

/* ==========================================================================
   Legal & Policy Typography
   ========================================================================== */
.legal-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 767.98px) {
  .legal-card {
    padding: 1.75rem;
  }
}

.legal-card h2 {
  font-size: 1.75rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.legal-list {
  list-style: none;
  padding-left: 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-bronze);
}

/* ==========================================================================
   CTA Banner & Global Footer
   ========================================================================== */
.cta-atelier-banner {
  background: linear-gradient(135deg, var(--bg-forest) 0%, #273830 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .cta-atelier-banner {
    padding: 2.25rem 1.5rem;
  }
}

.site-footer {
  background-color: var(--bg-forest);
  color: var(--text-on-dark-muted);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-dark);
  margin-bottom: 1.2rem;
}

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

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

.footer-links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 3rem;
  padding-top: 1.65rem;
  font-size: 0.88rem;
}

/* Accordion refinement */
.accordion-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  padding: 1.2rem 1.4rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-sand);
  color: var(--accent-bronze);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}
