/* ==========================================================================
   Best Home Abode — Custom Theme
   Palette: forest green / warm sand / brass
   ========================================================================== */

:root {
  --forest: #1b4332;
  --forest-deep: #10261c;
  --forest-soft: #2d5c46;
  --sage: #7f9c86;
  --sand: #f7f2e7;
  --cream: #fffdf8;
  --brass: #c08b3e;
  --brass-soft: #e2bb7a;
  --clay: #b5663f;
  --ink: #1d2a24;
  --muted: #64736b;
  --line: rgba(27, 67, 50, 0.12);
  --shadow-sm: 0 6px 18px rgba(16, 38, 28, 0.07);
  --shadow-md: 0 18px 44px rgba(16, 38, 28, 0.11);
  --shadow-lg: 0 30px 70px rgba(16, 38, 28, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-head {
  font-family: var(--font-head);
  color: var(--forest-deep);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

p { color: #3b4a43; }
a { color: var(--forest); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--brass); }
img { max-width: 100%; height: auto; }

::selection { background: var(--brass-soft); color: var(--forest-deep); }

.container { max-width: 1180px; padding-inline: 1rem; }
@media (min-width: 1200px) { .container { padding-inline: .75rem; } }

/* ---------- Utility ---------- */
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest); }
.bg-cream { background: var(--cream); }
.text-brass { color: var(--brass) !important; }
.text-forest { color: var(--forest) !important; }
.text-muted-2 { color: var(--muted) !important; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(40px, 5vw, 68px); }
.rounded-xl { border-radius: var(--radius-lg); }
.max-60 { max-width: 60ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; margin-bottom: 0; }

.lead-2 { font-size: 1.08rem; color: #43524a; line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .78rem 1.6rem;
  transition: all .25s ease;
  border-width: 1.5px;
}
.btn-brand {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  box-shadow: 0 10px 24px rgba(27, 67, 50, .22);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(27, 67, 50, .28);
}
.btn-brass {
  background: var(--brass);
  border-color: var(--brass);
  color: #fff;
  box-shadow: 0 10px 24px rgba(192, 139, 62, .28);
}
.btn-brass:hover, .btn-brass:focus { background: #a9782f; border-color: #a9782f; color: #fff; transform: translateY(-2px); }
.btn-outline-brand {
  border-color: rgba(27, 67, 50, .35);
  color: var(--forest);
  background: transparent;
}
.btn-outline-brand:hover { background: var(--forest); border-color: var(--forest); color: #fff; transform: translateY(-2px); }
.btn-ghost-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: #fff; color: var(--forest-deep); border-color: #fff; transform: translateY(-2px); }
.btn-sm-2 { padding: .55rem 1.15rem; font-size: .86rem; }
.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--forest);
  padding: 0;
  border: 0;
  background: none;
}
.btn-link-arrow svg { transition: transform .25s ease; }
.btn-link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  white-space: nowrap;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--forest) 0%, var(--forest-soft) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(27, 67, 50, .25);
}
.logo-mark svg { width: 22px; height: 22px; display: block; }
.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: .34rem;
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--forest-deep);
  line-height: 1;
  white-space: nowrap;
}
.logo-text .logo-accent { color: var(--brass); font-style: italic; }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-mark { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); box-shadow: none; }
.logo-light .logo-text .logo-accent { color: var(--brass-soft); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-deep);
  box-shadow: 0 0 0 100vmax var(--forest-deep);
  clip-path: inset(0 -100vmax);
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .86); }
.topbar a:hover { color: var(--brass-soft); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }
.topbar .tb-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }

/* ---------- Navbar ---------- */
.navbar-main {
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: .8rem 0;
  transition: box-shadow .3s ease, padding .3s ease;
}
.navbar-main.stuck { box-shadow: var(--shadow-sm); padding: .55rem 0; }
.navbar-main .nav-link {
  font-size: .93rem;
  font-weight: 600;
  color: #2c3b34 !important;
  padding: .5rem .95rem !important;
  position: relative;
}
.navbar-main .nav-link::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { transform: scaleX(1); }
.navbar-main .nav-link.active { color: var(--forest) !important; }
.navbar-toggler { border: 1px solid var(--line); padding: .4rem .6rem; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  box-shadow: 0 0 0 100vmax #0d201a;
  clip-path: inset(0 -100vmax);
  min-height: clamp(520px, 76vh, 720px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 24, 18, .72) 0%, rgba(10, 24, 18, .30) 42%, rgba(10, 24, 18, .84) 100%),
    linear-gradient(90deg, rgba(10, 24, 18, .62) 0%, rgba(10, 24, 18, .05) 70%);
}
.hero-body { padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero p.hero-sub { color: rgba(255, 255, 255, .88); font-size: 1.09rem; max-width: 52ch; margin: 1.15rem 0 1.9rem; }
.hero .eyebrow { color: var(--brass-soft); }
.hero .eyebrow::before { background: var(--brass-soft); }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: .38rem .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-chip svg { width: 14px; height: 14px; }

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  box-shadow: 0 0 0 100vmax var(--forest);
  clip-path: inset(0 -100vmax);
  padding: clamp(56px, 8vw, 104px) 0 clamp(46px, 6vw, 76px);
  background: linear-gradient(150deg, var(--forest-deep) 0%, var(--forest) 62%, #2f5f49 100%);
  color: #fff;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 139, 62, .30), transparent 68%);
}
.page-banner::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
}
.page-banner h1 { color: #fff; margin-bottom: .6rem; }
.page-banner p { color: rgba(255, 255, 255, .8); max-width: 62ch; margin-bottom: 0; }
.page-banner .eyebrow { color: var(--brass-soft); }
.page-banner .eyebrow::before { background: var(--brass-soft); }
.breadcrumb-x { font-size: .82rem; color: rgba(255, 255, 255, .62); margin-top: 1.1rem; }
.breadcrumb-x a { color: rgba(255, 255, 255, .82); }
.breadcrumb-x a:hover { color: var(--brass-soft); }
.breadcrumb-x span.sep { margin: 0 .5rem; opacity: .5; }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(192, 139, 62, .38); }

/* Service card */
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card .sc-img { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.service-card:hover .sc-img img { transform: scale(1.07); }
.service-card .sc-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 253, 248, .94);
  color: var(--forest);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: 999px;
}
.service-card .sc-body { padding: 1.5rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .55rem; min-height: 2.9em; }
@media (max-width: 767.98px) { .service-card h3 { min-height: 0; } }
.service-card p { font-size: .93rem; color: #52625a; margin-bottom: 1.35rem; }
.service-card .sc-btn { margin-top: auto; }

/* Feature / value tiles */
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tile .tile-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(27, 67, 50, .07);
  color: var(--forest);
  margin-bottom: 1.05rem;
}
.tile .tile-ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.tile p { font-size: .92rem; margin-bottom: 0; color: #52625a; }

/* Process steps (no numbering) */
.step { position: relative; padding: 0 .5rem; height: 100%; }
.step .step-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(192, 139, 62, .45);
  color: var(--brass);
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}
.step .step-ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; color: #52625a; margin-bottom: 0; }
.process-line { position: relative; }
.process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(192, 139, 62, .5) 0 8px, transparent 8px 16px);
}
@media (max-width: 767.98px) { .process-line::before { display: none; } }

/* ---------- Split media ---------- */
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.split-media img { width: 100%; display: block; }
.split-media .sm-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 253, 248, .95);
  border-radius: 14px;
  padding: .7rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; color: #43524a; }
.check-list li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: .18rem; color: var(--brass); }

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.quote-card .qmark { font-family: var(--font-head); font-size: 3rem; line-height: .8; color: var(--brass-soft); }
.quote-card p { font-size: .98rem; color: #3b4a43; }
.quote-card .qperson { font-weight: 700; color: var(--forest-deep); font-size: .92rem; }
.quote-card .qrole { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(130deg, var(--forest-deep), var(--forest) 58%, #356a51);
  color: #fff;
  padding: clamp(34px, 5vw, 62px);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 139, 62, .38), transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; }
@media (max-width: 991.98px) { .cta-band .cta-actions { justify-content: flex-start; } }
.cta-band .cta-mini { font-size: .84rem; color: rgba(255, 255, 255, .7); margin-top: .9rem; }
.cta-band .cta-mini a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog cards ---------- */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card .pc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.post-card:hover .pc-img img { transform: scale(1.06); }
.post-card .pc-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta {
  display: flex;
  gap: .8rem;
  align-items: center;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .8rem;
}
.post-card .pc-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sage); }
.post-card .pc-meta .pc-cat { color: var(--forest); }
.post-card h3 { font-size: 1.2rem; margin-bottom: .55rem; min-height: 3em; }
@media (max-width: 767.98px) { .post-card h3 { min-height: 0; } }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--brass); }
.post-card p { font-size: .92rem; color: #52625a; }

/* Article */
.article-body { font-size: 1.04rem; color: #3b4a43; }
.article-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 1.9rem 0 .8rem; }
.article-body h3 { margin: 1.5rem 0 .6rem; font-size: 1.18rem; }
.article-body p { margin-bottom: 1.05rem; }
.article-body ul { padding-left: 1.15rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .55rem; }
.article-body blockquote {
  border-left: 3px solid var(--brass);
  background: var(--sand);
  padding: 1rem 1.25rem;
  border-radius: 0 14px 14px 0;
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--forest-deep);
  margin: 1.5rem 0;
}
.article-hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-hero img { width: 100%; display: block; }
.article-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.article-side h4 { font-size: 1rem; margin-bottom: .9rem; }
.article-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.article-side ul a { font-size: .92rem; color: #3b4a43; }
.article-side ul a:hover { color: var(--brass); }

/* ---------- Forms ---------- */
.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 3.4vw, 44px);
}
.form-label { font-size: .85rem; font-weight: 700; color: var(--forest-deep); margin-bottom: .4rem; }
.form-control, .form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(27, 67, 50, .16);
  padding: .72rem .95rem;
  font-size: .95rem;
  background-color: #fff;
  color: var(--ink);
}
.form-control::placeholder { color: #9aa8a1; }
.form-control:focus, .form-select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(27, 67, 50, .1);
}
.form-check-input { border-color: rgba(27, 67, 50, .3); }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-check-label { font-size: .88rem; color: #52625a; }
.form-note { font-size: .8rem; color: var(--muted); }
.alert-success-x {
  background: rgba(45, 92, 70, .09);
  border: 1px solid rgba(45, 92, 70, .28);
  color: var(--forest-deep);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  font-size: .93rem;
  display: none;
}
.alert-success-x.show { display: block; animation: fadeUp .45s ease both; }

/* ---------- Contact cards ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .cc-ico {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(192, 139, 62, .13);
  color: var(--brass);
  display: grid;
  place-items: center;
}
.contact-card .cc-ico svg { width: 21px; height: 21px; }
.contact-card h4 { font-size: .95rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: #52625a; margin-bottom: 0; overflow-wrap: anywhere; }
.contact-card > div { min-width: 0; }
.contact-card .cc-body a.strong-link { color: var(--forest); font-weight: 600; }
.contact-card a:hover { color: var(--brass); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #e8efe9;
}
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; filter: saturate(.92); }

/* ---------- Legal / policy pages ---------- */
.policy-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 2rem 0 .7rem; }
.policy-body h3 { font-size: 1.06rem; margin: 1.4rem 0 .5rem; }
.policy-body p, .policy-body li { font-size: .96rem; color: #3b4a43; }
.policy-body ul { padding-left: 1.15rem; }
.policy-body li { margin-bottom: .45rem; }
.toc-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  position: sticky;
  top: 100px;
}
.toc-card h4 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .8rem; }
.toc-card ol { padding-left: 1.1rem; margin: 0; }
.toc-card li { margin-bottom: .5rem; font-size: .9rem; }
.toc-card a { color: #3b4a43; }
.toc-card a:hover { color: var(--brass); }

/* ---------- Subscribe / unsubscribe ---------- */
.narrow-shell { max-width: 720px; margin-inline: auto; }
.newsletter-panel {
  background: linear-gradient(140deg, var(--forest-deep), var(--forest) 70%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.newsletter-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
}
.newsletter-panel h2, .newsletter-panel h3 { color: #fff; }
.newsletter-panel .eyebrow { margin-bottom: .6rem; }
.newsletter-panel p { color: rgba(255, 255, 255, .8); }
.perk { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: #43524a; }
.perk svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--brass); margin-top: .2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-deep);
  box-shadow: 0 0 0 100vmax var(--forest-deep);
  clip-path: inset(0 -100vmax);
  color: rgba(255, 255, 255, .72);
  padding-top: clamp(48px, 6vw, 76px);
  font-size: .93rem;
}
.footer h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: var(--brass-soft); }
.footer p { color: rgba(255, 255, 255, .66); font-size: .93rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .62rem; }
.footer .f-contact { display: grid; gap: .8rem; }
.footer a, .footer p, .f-contact span { overflow-wrap: anywhere; }
.footer .f-contact > div, .footer .col-lg-3 { min-width: 0; }
.footer .f-contact .fc-row { display: flex; gap: .65rem; align-items: flex-start; }
.footer .f-contact svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: .25rem; color: var(--brass-soft); }
.footer .f-note {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: clamp(34px, 4vw, 52px);
  padding: 1.3rem 0;
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}
.footer .f-note a { color: rgba(255, 255, 255, .7); }
.social-row { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  transition: all .25s ease;
}
.social-row a svg { width: 16px; height: 16px; }
.social-row a:hover { background: var(--brass); border-color: var(--brass); color: #fff; transform: translateY(-3px); }
.footer .f-logo-line { margin-bottom: 1.1rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 60;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .navbar-main .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: .8rem;
    margin-top: .8rem;
  }
  .navbar-main .nav-link::after { display: none; }
  .navbar-main .nav-link.active { background: var(--sand); border-radius: 10px; }
  .logo-text { font-size: 1.16rem; }
  .toc-card { position: static; }
}
@media (max-width: 575.98px) {
  .topbar { font-size: .76rem; }
  .hero { min-height: 84vh; }
  .logo-text { font-size: 1.05rem; }
  .logo-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
  .service-card .sc-body, .post-card .pc-body { padding: 1.25rem; }
  .footer { text-align: left; }
}

/* ---------- Inline tiles, promo tile ---------- */
.tile-inline { display: flex; gap: 1rem; align-items: flex-start; }
.tile-inline .tile-ico { margin-bottom: 0; flex: 0 0 48px; }
.tile-inline h3 { font-size: 1.05rem; }
.tile-inline p { font-size: .89rem; }

.promo-tile {
  background: linear-gradient(135deg, var(--forest-deep), var(--forest) 62%, #346a51);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.promo-tile::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 139, 98, .4), transparent 70%);
}
.promo-tile h3 { color: #fff; font-size: 1.24rem; margin-bottom: .7rem; }
.promo-tile p { color: rgba(255, 255, 255, .78); font-size: .93rem; margin-bottom: 1.35rem; }
.promo-tile .btn-link-arrow:hover { color: var(--brass-soft) !important; }

/* keep stacked side columns at their natural height */
.no-stretch { align-self: flex-start; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--forest);
  color: #fff;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
