/* =========================================================
   Living House Luxe — Custom Styles
   Built on Bootstrap 5.3 (grid + components)
   ========================================================= */

:root {
  --pine:        #14382c;
  --pine-dark:   #0d2a20;
  --pine-mid:    #1f5342;
  --pine-soft:   #e9f0ec;
  --brass:       #c8a35f;
  --brass-dark:  #ad8a45;
  --brass-soft:  #f4ead6;
  --cream:       #f8f4ec;
  --paper:       #ffffff;
  --ink:         #23261f;
  --muted:       #6d7265;
  --line:        #e7e1d4;
  --radius:      18px;
  --shadow-sm:   0 6px 22px rgba(20, 56, 44, .08);
  --shadow-lg:   0 26px 64px rgba(20, 56, 44, .16);
  --font-head:   "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-head {
  font-family: var(--font-head);
  color: var(--pine);
  font-weight: 700;
  letter-spacing: -.01em;
}

a { text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; }

::selection { background: var(--brass); color: #2a2415; }

/* ---------- Helpers ---------- */
.text-pine    { color: var(--pine) !important; }
.text-pine-mid{ color: var(--pine-mid) !important; }
.text-brass   { color: var(--brass) !important; }
.text-muted-luxe { color: var(--muted) !important; }
.bg-pine      { background-color: var(--pine) !important; }
.bg-pine-dark { background-color: var(--pine-dark) !important; }
.bg-pine-mid  { background-color: var(--pine-mid) !important; }
.bg-cream     { background-color: var(--cream) !important; }
.bg-brass     { background-color: var(--brass) !important; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  font-size: .78rem;
  color: var(--brass-dark);
}

.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head .lead { color: var(--muted); max-width: 640px; }
.section-head.mx-auto .lead { margin-left: auto; margin-right: auto; }

.divider-gold {
  width: 64px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), var(--brass-dark));
}

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .72rem 1.6rem; transition: all .25s ease; }

.btn-luxe {
  background: var(--brass);
  color: #2a2415;
  border: 1px solid var(--brass);
}
.btn-luxe:hover, .btn-luxe:focus {
  background: var(--brass-dark);
  border-color: var(--brass-dark);
  color: #1f1a10;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(173, 138, 69, .35);
}

.btn-pine {
  background: var(--pine);
  color: #fff;
  border: 1px solid var(--pine);
}
.btn-pine:hover, .btn-pine:focus {
  background: var(--pine-dark);
  border-color: var(--pine-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 56, 44, .3);
}

.btn-outline-cream {
  color: var(--cream);
  border: 1.5px solid rgba(255,255,255,.7);
  background: transparent;
}
.btn-outline-cream:hover, .btn-outline-cream:focus {
  background: #fff; color: var(--pine); border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-pine {
  color: var(--pine);
  border: 1.5px solid var(--pine);
  background: transparent;
}
.btn-outline-pine:hover, .btn-outline-pine:focus {
  background: var(--pine); color: #fff; border-color: var(--pine);
}

/* ---------- Navbar ---------- */
.navbar-luxe {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: box-shadow .25s ease, padding .25s ease;
}
.navbar-luxe.scrolled { box-shadow: 0 10px 30px rgba(13, 42, 32, .1); padding: .6rem 0; }

.brand-badge {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--pine), var(--pine-mid));
  color: var(--brass);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.brand-name { font-family: var(--font-head); color: var(--pine); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.brand-sub  { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.navbar-luxe .nav-link {
  color: var(--ink); font-weight: 500; margin: 0 .35rem;
  padding: .5rem .7rem !important; border-radius: 8px;
}
.navbar-luxe .nav-link:hover { color: var(--pine-mid); background: var(--pine-soft); }
.navbar-luxe .nav-link.active { color: var(--pine); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,42,32,.92) 12%, rgba(13,42,32,.62) 48%, rgba(13,42,32,.25) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.06; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 620px; font-size: 1.12rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: .45rem 1rem; border-radius: 999px; font-size: .85rem;
  backdrop-filter: blur(6px);
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(200,163,95,.28), transparent 60%),
    linear-gradient(120deg, var(--pine-dark), var(--pine) 60%, var(--pine-mid));
  color: #fff; padding: 110px 0 84px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 640px; }
.breadcrumb-luxe { --bs-breadcrumb-divider: "›"; }
.breadcrumb-luxe .breadcrumb-item, .breadcrumb-luxe a { color: rgba(255,255,255,.75); }
.breadcrumb-luxe .breadcrumb-item.active { color: var(--brass); }

/* ---------- Cards ---------- */
.card-luxe {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%;
}
.card-luxe:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.icon-badge {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--pine-soft); color: var(--pine-mid);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .28s ease, color .28s ease;
}
.icon-badge svg { width: 28px; height: 28px; }
.card-luxe:hover .icon-badge { background: var(--pine); color: var(--brass); }

.card-service .stretched-link { color: var(--pine-mid); font-weight: 600; }
.card-service .stretched-link svg { transition: transform .25s ease; }
.card-service:hover .stretched-link svg { transform: translateX(5px); color: var(--brass-dark); }

/* Value / step cards */
.value-card { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 1.75rem; height: 100%; }
.value-card:hover { box-shadow: var(--shadow-sm); }
.value-card .icon-badge { background: var(--brass-soft); color: var(--brass-dark); }

.step-num {
  font-family: var(--font-head);
  font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--brass);
}

/* ---------- Service rows (services page) ---------- */
.service-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 2rem;
  height: 100%;
  transition: box-shadow .28s ease, transform .28s ease;
}
.service-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-row ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.service-row ul li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; color: var(--muted); }
.service-row ul li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--brass);
}

/* ---------- Blog ---------- */
.card-blog { overflow: hidden; }
.card-blog .blog-img { height: 220px; object-fit: cover; width: 100%; transition: transform .4s ease; }
.card-blog:hover .blog-img { transform: scale(1.05); }
.card-blog .img-wrap { overflow: hidden; }
.blog-meta { font-size: .82rem; color: var(--muted); }
.chip {
  display: inline-block; font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--brass-soft); color: var(--brass-dark);
  padding: .3rem .8rem; border-radius: 999px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem; height: 100%;
}
.testimonial .quote-mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--brass); }
.testimonial .stars { color: var(--brass); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.accordion-luxe .accordion-item {
  border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .9rem; overflow: hidden;
}
.accordion-luxe .accordion-button {
  font-weight: 600; color: var(--pine); background: #fff;
  box-shadow: none; padding: 1.1rem 1.3rem;
}
.accordion-luxe .accordion-button:not(.collapsed) { background: var(--pine-soft); color: var(--pine); }
.accordion-luxe .accordion-body { color: var(--muted); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--line);
  padding: .8rem 1rem; color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brass); box-shadow: 0 0 0 .25rem rgba(200,163,95,.2);
}
.form-label { font-weight: 600; color: var(--pine); }
.newsletter-panel {
  background: linear-gradient(135deg, var(--pine), var(--pine-mid));
  border-radius: 24px; color: #fff;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.newsletter-panel .form-control { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; }
.newsletter-panel .form-control::placeholder { color: rgba(255,255,255,.6); }
.newsletter-panel .form-control:focus { background: rgba(255,255,255,.18); border-color: var(--brass); box-shadow: none; }

/* ---------- Footer ---------- */
.footer { background: var(--pine-dark); color: rgba(255,255,255,.78); }
.footer h6 { color: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.footer a { color: rgba(255,255,255,.72); }
.footer a:hover { color: var(--brass); }
.footer .social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer .social a:hover { background: var(--brass); border-color: var(--brass); color: #2a2415; }
.footer .social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brass); color: #2a2415; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brass-dark); }

/* ---------- Misc ---------- */
.feature-tile { display: flex; gap: 1rem; align-items: flex-start; }
.feature-tile .icon-badge { flex: 0 0 auto; }

.object-cover { object-fit: cover; }
.rounded-luxe { border-radius: var(--radius); }

.map-frame { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem; height: 100%;
}

.legal-body h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body .toc a { color: var(--pine-mid); }
.legal-body .toc a:hover { color: var(--brass-dark); }

.alert-luxe { border-radius: 12px; }

@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { min-height: 78vh; }
  .navbar-luxe .nav-link { margin: .15rem 0; }
}
