/* ==========================================================================
   Home Improve Expert — Core Stylesheet
   Domain: homeimproveexpert.com
   Layout grid: Bootstrap 5.3 (column grid) · Brand system: this file
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #0c1e33;
  --navy-2: #142e4b;
  --navy-3: #1d3d61;
  --brand: #146b58;
  --brand-2: #1a8a71;
  --brand-soft: #e7f3ef;
  --brand-soft-2: #f2f9f6;
  --accent: #d9822b;
  --accent-2: #f0b165;
  --sand: #f9f6f1;
  --sand-2: #f2ece2;
  --line: #e4dcd0;
  --ink: #16263a;
  --muted: #5c6b7d;
  --white: #ffffff;

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 11px;
  --shadow-xs: 0 1px 3px rgba(12, 30, 51, .07);
  --shadow-sm: 0 10px 26px -14px rgba(12, 30, 51, .30);
  --shadow: 0 24px 54px -24px rgba(12, 30, 51, .38);
  --ring: 0 0 0 .22rem rgba(20, 107, 88, .18);

  /* Logo mark, shared by small brand chips (kept inline so it always renders) */
  --logo-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='16' fill='%230c1e33'/%3E%3Cpath d='M13 31.5 32 15l19 16.5' fill='none' stroke='%23f0b165' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19.5 31.8v15.4h25V31.8' fill='none' stroke='%23ffffff' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M29 47.2V37.4h6.2v9.8' fill='none' stroke='%23ffffff' stroke-width='4.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M43.5 12.5v8M39.5 16.5h8' stroke='%231a8a71' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.16;
  color: var(--navy);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); }

p { color: #38495c; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }

.lead-lg { font-size: clamp(1.02rem, 1.35vw, 1.14rem); color: #4a5a6d; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.eyebrow.on-dark { color: var(--accent-2); }

.section { padding: clamp(3.4rem, 6.6vw, 6rem) 0; }
.section-tight { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.bg-sand { background: var(--sand); }
.bg-soft { background: var(--brand-soft-2); }
.bg-navy { background: var(--navy); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; padding-inline: .25rem; }

.divider-warm {
  height: 1px; border: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.text-muted-2 { color: var(--muted) !important; }

/* ---------- 3. Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  padding: .72rem 1.5rem;
  border: 1.6px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  letter-spacing: .01em;
}
.btn:active { transform: translateY(1px); }
.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(20, 107, 88, .95);
}
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(20, 107, 88, 1); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #2a1b08;
  box-shadow: 0 12px 24px -14px rgba(217, 130, 43, .95);
}
.btn-accent:hover, .btn-accent:focus-visible { color: #2a1b08; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy-3); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-ink { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline-ink:hover, .btn-outline-ink:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-sm-pill { padding: .52rem 1.15rem; font-size: .895rem; }
.btn-arrow::after { content: "→"; margin-left: .5rem; display: inline-block; transition: transform .22s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }
.btn:focus-visible { box-shadow: var(--ring); outline: 0; }

.link-arrow { font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .22s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 4. Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
  padding: .5rem 0;
  position: relative;
  z-index: 1040;
}
.topbar a { color: rgba(255, 255, 255, .9); font-weight: 500; }
.topbar a:hover { color: var(--accent-2); }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item svg { flex: 0 0 auto; opacity: .9; }
.topbar-sep { display: none; }
.topbar-note { letter-spacing: .02em; }

/* ---------- 5. Header / brand lockup ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1035;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 12px 30px -22px rgba(12, 30, 51, .55); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }

.brand-lockup { display: inline-flex; align-items: center; gap: .62rem; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 13px;
  background: var(--logo-mark) center/cover no-repeat, var(--navy);
  box-shadow: 0 8px 18px -12px rgba(12, 30, 51, .9);
}
.brand-stack { display: flex; flex-direction: column; line-height: 1.08; }
/* one-line wordmark, one single style throughout */
.brand-wordmark {
  display: inline-flex; align-items: baseline; gap: .32ch;
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.5vw, 1.26rem);
  font-weight: 600;
  letter-spacing: .004em;
  white-space: nowrap;
  color: var(--navy);
}
.brand-wordmark .w { color: var(--navy); }
.brand-wordmark .w-brand { color: var(--brand); }
.brand-wordmark .w-accent { color: var(--accent); }
.brand-wordmark .w-dot { color: var(--accent); }
.brand-tagline {
  font-size: .6rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: #7b8798; margin-top: .18rem;
}
.brand-lockup:hover .brand-wordmark .w-brand { color: var(--brand-2); }

.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav .nav-link {
  font-size: .93rem; font-weight: 600; color: var(--ink);
  padding: .5rem .78rem; border-radius: 999px; position: relative;
}
.main-nav .nav-link:hover { color: var(--brand); background: var(--brand-soft-2); }
.main-nav .nav-link.active { color: var(--brand); }
.main-nav .nav-link.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: .18rem; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.header-actions { display: flex; align-items: center; gap: .55rem; }
.nav-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1.6px solid var(--line);
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--navy); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* mobile offcanvas nav */
.offcanvas.navdrawer { width: min(88vw, 360px); border: 0; }
.navdrawer-head { padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.navdrawer-list { list-style: none; padding: .6rem 0 0; margin: 0; }
.navdrawer-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .82rem 1.3rem; color: var(--navy); font-weight: 600;
  border-bottom: 1px solid #f1ece3;
}
.navdrawer-list a:hover, .navdrawer-list a.active { background: var(--brand-soft-2); color: var(--brand); }
.navdrawer-foot { padding: 1.3rem; }
.navdrawer-foot .mini-meta { font-size: .86rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .55rem; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  background-image:
    linear-gradient(100deg, rgba(8, 20, 34, .93) 0%, rgba(10, 28, 44, .82) 42%, rgba(12, 30, 51, .38) 100%),
    url("../img/hero-home-renovation.jpg");
  background-size: cover;
  background-position: center;
  padding: clamp(3.2rem, 8vw, 6.6rem) 0 clamp(6.5rem, 11vw, 9rem);
}
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .86); }
.hero .hero-lead { max-width: 620px; font-size: clamp(1rem, 1.35vw, 1.13rem); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #fff; border-radius: 999px;
  padding: .42rem 1rem; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(240, 177, 101, .25); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px; padding: .5rem .85rem; font-size: .82rem; font-weight: 600; color: #fff;
}
.hero-chip svg { color: var(--accent-2); }

.hero-panel {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.45rem;
  backdrop-filter: blur(10px);
}
.hero-panel h3 { color: #fff; font-size: 1.12rem; margin-bottom: .85rem; }
.hero-panel-list { list-style: none; padding: 0; margin: 0 0 1.15rem; }
.hero-panel-list li { display: flex; gap: .6rem; color: rgba(255, 255, 255, .87); font-size: .9rem; padding: .38rem 0; }
.hero-panel-list li svg { flex: 0 0 auto; margin-top: .28rem; color: var(--accent-2); }

/* overlapping quick-contact strip */
.quick-strip {
  margin-top: clamp(-4.6rem, -6vw, -3.6rem);
  position: relative; z-index: 5;
}
.quick-strip-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}
.quick-item { display: flex; gap: .85rem; align-items: flex-start; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
@media (max-width: 991.98px) {
  .quick-item + .quick-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
}
.quick-icon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.quick-item h4 { font-size: .98rem; margin-bottom: .12rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .01em; }
.quick-item p, .quick-item a { font-size: .9rem; margin: 0; color: var(--muted); }
.quick-item a:hover { color: var(--brand); }

/* ---------- 7. Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff;
  background: var(--navy);
  background-image:
    linear-gradient(100deg, rgba(8, 20, 34, .94) 0%, rgba(10, 30, 48, .8) 45%, rgba(20, 107, 88, .55) 100%),
    url("../img/page-banner.jpg");
  background-size: cover; background-position: center 38%;
  padding: clamp(2.7rem, 6vw, 4.6rem) 0 clamp(2.4rem, 5vw, 3.6rem);
}
.page-banner h1 { color: #fff; margin-bottom: .7rem; }
.page-banner p { color: rgba(255, 255, 255, .85); max-width: 680px; margin-bottom: 0; }
.breadcrumb-nav { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .84rem; color: rgba(255, 255, 255, .7); margin-bottom: 1.1rem; }
.breadcrumb-nav a { color: rgba(255, 255, 255, .88); font-weight: 600; }
.breadcrumb-nav a:hover { color: var(--accent-2); }
.breadcrumb-nav .sep { opacity: .5; }
.breadcrumb-nav .current { color: var(--accent-2); font-weight: 600; }

/* ---------- 8. Service cards ---------- */
.svc-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d3c9b9; }
.svc-media { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: var(--sand-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2, .7, .3, 1); }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 30, 51, .05) 40%, rgba(12, 30, 51, .42) 100%);
}
.svc-tag {
  position: absolute; z-index: 2; top: .85rem; left: .85rem;
  background: rgba(12, 30, 51, .74); color: #fff;
  font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.svc-icon {
  position: absolute; z-index: 2; right: .85rem; bottom: .85rem;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255, 255, 255, .93); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -12px rgba(12, 30, 51, .8);
}
.svc-body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.svc-body h3 { font-size: 1.17rem; margin-bottom: .55rem; }
.svc-body p { color: var(--muted); font-size: .93rem; margin-bottom: 1.15rem; flex: 1 1 auto; }
.svc-body .btn { align-self: flex-start; }

/* ---------- 9. Icon / feature cards ---------- */
.icon-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.6rem 1.45rem; transition: transform .3s ease, box-shadow .3s ease;
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 1rem;
  background: var(--brand-soft); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-badge.accent { background: #fdf1e3; color: var(--accent); }
.icon-badge.navy { background: #eaf0f7; color: var(--navy-2); }
.icon-card h3 { font-size: 1.06rem; margin-bottom: .5rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.icon-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* process rail */
.step-card {
  height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.5rem 1.4rem 1.55rem; position: relative; overflow: hidden;
}
.step-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.step-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .45rem; }
.step-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.step-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.step-badge {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  background: var(--navy); color: var(--accent-2);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- 10. Split feature (image + text) ---------- */
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-stack { position: relative; }
.media-stack .media-frame.small {
  position: absolute; right: -1.1rem; bottom: -1.4rem; width: 46%;
  border: 5px solid #fff; box-shadow: var(--shadow);
}
@media (max-width: 575.98px) { .media-stack .media-frame.small { position: static; width: 100%; margin-top: 1rem; border-width: 0; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; padding: .42rem 0; color: #40506180; }
.check-list li { color: #405061; font-size: .96rem; }
.check-list li svg { flex: 0 0 auto; margin-top: .35rem; color: var(--brand); }

/* ---------- 11. Testimonials ---------- */
.quote-card {
  height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.quote-mark { color: var(--accent); opacity: .9; }
.quote-card p { font-size: .96rem; color: #3d4d60; margin: 0; flex: 1 1 auto; }
.quote-who { display: flex; align-items: center; gap: .75rem; padding-top: .9rem; border-top: 1px solid #f0eae1; }
.avatar-initials {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: linear-gradient(135deg, var(--brand), var(--navy-2));
  color: #fff; font-weight: 700; letter-spacing: .04em; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.quote-who strong { display: block; font-size: .95rem; color: var(--navy); }
.quote-who span { font-size: .83rem; color: var(--muted); }
.stars { display: inline-flex; gap: .18rem; color: var(--accent); }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; color: #fff;
  background-image:
    linear-gradient(105deg, rgba(9, 24, 40, .95) 0%, rgba(14, 44, 62, .88) 48%, rgba(20, 107, 88, .78) 100%),
    url("../img/hero-home-renovation.jpg");
  background-size: cover; background-position: center 60%;
  padding: clamp(2.3rem, 5vw, 3.6rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.cta-band .cta-mini { display: inline-flex; align-items: center; gap: .5rem; font-size: .87rem; color: rgba(255, 255, 255, .82); }

/* ---------- 13. Blog ---------- */
.blog-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-2); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2, .7, .3, 1); }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-cat {
  position: absolute; top: .85rem; left: .85rem;
  background: rgba(255, 255, 255, .94); color: var(--brand);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .72rem; border-radius: 999px;
}
.blog-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.blog-body h3 a { color: var(--navy); }
.blog-body h3 a:hover { color: var(--brand); }
.blog-body p { font-size: .93rem; color: var(--muted); flex: 1 1 auto; }

/* article */
.article-wrap { max-width: 780px; }
.article-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-top: 2.2rem; margin-bottom: .85rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.7rem; margin-bottom: .6rem; }
.article-body p, .article-body li { color: #3d4d60; }
.article-body ul, .article-body ol { padding-left: 1.15rem; }
.article-body li { margin-bottom: .5rem; }
.article-body img { border-radius: var(--r-md); }
.article-lead { font-size: 1.09rem; color: #3a4a5d; }
.tip-box {
  background: var(--brand-soft-2); border: 1px solid #d6e9e2; border-left: 4px solid var(--brand);
  border-radius: var(--r-sm); padding: 1.1rem 1.2rem; margin: 1.6rem 0;
}
.tip-box h4 { font-family: var(--font-body); font-weight: 700; font-size: .96rem; margin-bottom: .35rem; color: var(--brand); }
.tip-box p { margin: 0; font-size: .94rem; color: #40506a; }
.article-quote {
  border-left: 4px solid var(--accent); background: #fdf8f1;
  padding: 1.05rem 1.25rem; border-radius: var(--r-sm); margin: 1.7rem 0;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--navy);
}
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.tag-chip {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--sand); border: 1px solid var(--line);
  padding: .32rem .75rem; border-radius: 999px;
}
.author-box {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.3rem;
}
.author-box p { margin: 0; font-size: .92rem; color: var(--muted); }
.sidebar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.35rem 1.3rem;
}
.sidebar-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .9rem; }
.sidebar-post { display: flex; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid #f2ece3; }
.sidebar-post:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-post img { width: 74px; height: 58px; object-fit: cover; border-radius: 10px; flex: 0 0 74px; }
.sidebar-post strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.4; font-weight: 600; }
.sidebar-post span { font-size: .78rem; color: var(--muted); }

/* ---------- 14. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm);
}
.form-label { font-size: .87rem; font-weight: 600; color: var(--navy); margin-bottom: .38rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .72rem .9rem; font-size: .95rem; background: #fcfaf7; color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand-2); background: #fff; box-shadow: var(--ring);
}
.form-control::placeholder { color: #9aa6b4; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-check-input { border-color: #c9bfae; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-label { font-size: .88rem; color: #45566a; }
.alert-success-soft {
  background: var(--brand-soft); border: 1px solid #cfe7de; color: #12513f;
  border-radius: var(--r-md); padding: 1.1rem 1.2rem; font-size: .94rem;
}
.alert-success-soft strong { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: .3rem; color: #0f4737; }
.perk-list { list-style: none; padding: 0; margin: 0; }
.perk-list li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); color: #40506a; font-size: .95rem; }
.perk-list li:last-child { border-bottom: 0; }
.perk-list li svg { flex: 0 0 auto; margin-top: .3rem; color: var(--brand); }

/* ---------- 15. Contact page ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.35rem 1.3rem; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .4rem; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--muted); margin: 0; word-break: break-word; }
.contact-card a:hover { color: var(--brand); }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-fallback {
  padding: 1.5rem; text-align: center; font-size: .92rem; color: var(--muted);
}
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:last-child { color: var(--muted); font-weight: 600; }

/* ---------- 16. Legal pages ---------- */
.legal-wrap { max-width: 880px; }
.legal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
}
.legal-section + .legal-section { margin-top: 2.1rem; padding-top: 2.1rem; border-top: 1px solid #f0eae1; }
.legal-section h2 {
  font-size: clamp(1.22rem, 1.9vw, 1.5rem); margin-bottom: .7rem;
  padding-left: .9rem; position: relative;
}
.legal-section h2::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px;
  border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--accent));
}
.legal-section h3 { font-size: 1.04rem; font-family: var(--font-body); font-weight: 700; margin-top: 1.3rem; margin-bottom: .45rem; }
.legal-section p, .legal-section li { font-size: .95rem; color: #3d4d60; }
.legal-section ul { padding-left: 1.1rem; }
.legal-section li { margin-bottom: .45rem; }
.toc-card { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.25rem; }
.toc-card h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .8rem; }
.toc-card ol { margin: 0; padding-left: 1.15rem; }
.toc-card li { margin-bottom: .45rem; font-size: .9rem; }
.toc-card a { color: #37485c; }
.toc-card a:hover { color: var(--brand); }
.legal-meta {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted);
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem;
}

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding-top: clamp(2.8rem, 5vw, 4.2rem); }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .84rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.05rem;
}
.site-footer p { color: rgba(255, 255, 255, .68); font-size: .93rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .74); font-size: .93rem; }
.footer-links a:hover { color: var(--accent-2); }
.footer-links a.muted-link { color: rgba(255, 255, 255, .5); cursor: default; }
.footer-links a.muted-link:hover { color: rgba(255, 255, 255, .5); }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .13); margin-top: 2.4rem; padding: 1.3rem 0; }
.footer-note p { margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .58); }
.site-footer .brand-wordmark { color: #fff; }
.site-footer .brand-wordmark .w { color: #fff; }
.site-footer .brand-wordmark .w-brand { color: var(--accent-2); }
.site-footer .brand-tagline { color: rgba(255, 255, 255, .5); }
.footer-badge {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem;
  color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: .4rem .85rem;
}
.social-row { display: flex; gap: .5rem; }
.site-footer .brand-mark { border-radius: 11px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82);
}
.social-btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-2px); }
.social-btn.dark { background: var(--sand); border-color: var(--line); color: var(--navy); }
.social-btn.dark:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* floating call button */
.call-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1045;
  display: inline-flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 600; font-size: .92rem;
  padding: .8rem 1.15rem; border-radius: 999px;
  box-shadow: 0 18px 34px -16px rgba(20, 107, 88, 1);
}
.call-fab:hover { color: #fff; transform: translateY(-2px); }
.call-fab svg { flex: 0 0 auto; }
@media (max-width: 575.98px) { .call-fab span { display: none; } .call-fab { padding: .85rem; } }

/* ---------- 18. Animations & helpers ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card:hover, .blog-card:hover, .icon-card:hover, .quote-card:hover, .contact-card:hover { transform: none; }
}

.badge-soft {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 999px; padding: .35rem .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
}
.badge-soft.accent { background: #fdf1e3; color: #9c5c14; }
.badge-soft.navy { background: #eaf0f7; color: var(--navy-2); }

.stat-free-strip {
  display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; align-items: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0; margin: 0;
}
.stat-free-strip span { display: inline-flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.stat-free-strip svg { color: var(--brand); }

::selection { background: var(--brand); color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: .6rem 1rem; z-index: 1100; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

@media (max-width: 991.98px) {
  .hero { padding-top: 2.6rem; }
  .header-inner { padding: .6rem 0; }
  .quick-strip { margin-top: 1.6rem; }
}
