/* ==========================================================================
   Home Comfort Point — custom stylesheet (layered on top of Bootstrap 5)
   Palette: warm earth (sand / clay / terracotta) + deep teal
   ========================================================================== */

:root {
  --teal-900: #0d3334;
  --teal-800: #10403f;
  --teal-700: #14524f;
  --teal-600: #1b6f68;
  --teal-500: #23867d;
  --teal-100: #d9ebe7;
  --teal-50:  #eef6f4;

  --clay-700: #9c4f28;
  --clay-600: #b45c30;
  --clay-500: #c96e3d;
  --clay-300: #e8b48e;
  --clay-100: #f7e6d8;

  --sand-200: #e9dbca;
  --sand-100: #f2e7d9;
  --cream: #fdfaf5;
  --white: #ffffff;

  --ink: #1e2a28;
  --body: #55635f;
  --muted: #7c8a86;
  --line: rgba(30, 42, 40, .12);

  --gold: #d9a24a;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(16, 64, 63, .06);
  --shadow: 0 14px 34px rgba(16, 64, 63, .10);
  --shadow-lg: 0 28px 60px rgba(16, 64, 63, .16);
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 74px;
}
@media (min-width: 992px) { body { padding-top: 110px; } }
h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  color: var(--teal-900);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
}
p { line-height: 1.75; }
a { color: var(--teal-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-600); }
img { max-width: 100%; }
::selection { background: var(--clay-300); color: var(--teal-900); }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-tint { background: var(--sand-100); }
.section-teal { background: var(--teal-800); color: var(--teal-100); }
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-600);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--clay-500); border-radius: 2px;
}
.eyebrow-light { color: var(--clay-300); }
.eyebrow-light::before { background: var(--gold); }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
.lede { font-size: 1.06rem; color: var(--body); max-width: 62ch; }
.text-light-soft { color: rgba(255, 255, 255, .78); }
.divider-leaf { display: block; margin: 22px 0 0; }

/* ---------- buttons ---------- */
.btn {
  font-weight: 600; border-radius: 999px; padding: .78rem 1.6rem;
  font-size: .95rem; letter-spacing: .01em; transition: all .25s ease;
  border-width: 1px;
}
.btn-primary {
  background: var(--clay-600); border-color: var(--clay-600); color: #fff;
  box-shadow: 0 10px 24px rgba(180, 92, 48, .28);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--clay-700); border-color: var(--clay-700); color: #fff;
  transform: translateY(-2px); box-shadow: 0 16px 30px rgba(180, 92, 48, .32);
}
.btn-teal {
  background: var(--teal-700); border-color: var(--teal-700); color: #fff;
}
.btn-teal:hover, .btn-teal:focus { background: var(--teal-900); border-color: var(--teal-900); color: #fff; transform: translateY(-2px); }
.btn-outline-teal { background: transparent; border-color: var(--teal-600); color: var(--teal-700); }
.btn-outline-teal:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--teal-800); border-color: #fff; }
.btn-light-soft { background: #fff; color: var(--teal-800); border-color: #fff; }
.btn-light-soft:hover { background: var(--sand-100); color: var(--teal-900); border-color: var(--sand-100); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.link-arrow svg { transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--teal-900); color: rgba(255,255,255,.8);
  font-size: .85rem; padding: .55rem 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold); }
.topbar .divider { opacity: .35; margin: 0 .5rem; }

/* ---------- header (topbar + navbar, fixed as one block) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  background: var(--cream); transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(16, 64, 63, .12); }
.navbar { padding: 12px 0; transition: padding .3s ease; }
.navbar .navbar-brand { padding: 0; }
.navbar .nav-link {
  color: var(--teal-900); font-weight: 600; font-size: .95rem;
  padding: .5rem .95rem !important; position: relative;
}
.navbar .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .28rem;
  height: 2px; background: var(--clay-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--clay-600); }
.site-header.scrolled .navbar { padding: 7px 0; }
.navbar-toggler { border: 0; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2314524f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 12px 0 8px; }
}

/* ---------- logo (single line, identical everywhere) ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  background: linear-gradient(140deg, var(--teal-600), var(--teal-800));
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(20, 82, 79, .28);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  color: var(--teal-900); letter-spacing: -.02em; white-space: nowrap;
}
.brand-name .accent { color: var(--clay-600); }
.brand-tag {
  font-size: .58rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px; white-space: nowrap;
}
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name .accent { color: var(--gold); }
.brand-light .brand-tag { color: rgba(255,255,255,.6); }
.brand-light .brand-mark { background: rgba(255,255,255,.12); box-shadow: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(201, 110, 61, .16), transparent 60%),
    radial-gradient(900px 500px at 8% 12%, rgba(35, 134, 125, .12), transparent 62%),
    linear-gradient(180deg, #fdfaf5 0%, #f6efe4 100%);
  padding: 84px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: linear-gradient(180deg, rgba(253,250,245,0), var(--cream));
}
.hero h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); font-weight: 600; margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--clay-600); }
.hero p.lede { font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding: 0; list-style: none; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.75);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font-size: .84rem; font-weight: 600; color: var(--teal-800);
}
.hero-badges svg { color: var(--teal-600); }

.hero-art { position: relative; }
.hero-art .main-img {
  border-radius: 26px; box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.hero-art .float-img {
  position: absolute; left: -8%; bottom: -8%; width: 46%;
  border-radius: 18px; border: 6px solid var(--cream); box-shadow: var(--shadow-lg);
}
.hero-art .chip {
  position: absolute; top: 8%; right: -4%;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
.hero-art .chip .ic {
  width: 40px; height: 40px; border-radius: 12px; background: var(--clay-100);
  display: grid; place-items: center; color: var(--clay-600); flex: 0 0 40px;
}
.hero-art .chip strong { display: block; font-family: var(--font-display); color: var(--teal-900); font-size: 1rem; }
.hero-art .chip span { font-size: .76rem; color: var(--muted); }
.hero-art .blob { position: absolute; z-index: -1; }
@media (max-width: 991.98px) {
  .hero { padding: 56px 0 76px; }
  .hero-art { margin-top: 44px; }
  .hero-art .float-img { left: -2%; width: 40%; }
  .hero-art .chip { right: 0; }
}

/* ---------- page header (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden; padding: 74px 0 66px;
  background:
    radial-gradient(760px 320px at 82% 0%, rgba(217, 162, 74, .22), transparent 60%),
    linear-gradient(120deg, var(--teal-900), var(--teal-700) 60%, var(--teal-600));
  color: var(--teal-100);
}
.page-head h1 { color: #fff; font-size: clamp(2.05rem, 4vw, 3.05rem); margin: 12px 0 12px; }
.page-head p { color: rgba(255,255,255,.8); max-width: 62ch; }
.page-head::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%); border-radius: 50%;
}
.breadcrumb { margin: 0 0 14px; font-size: .84rem; }
.breadcrumb a, .breadcrumb .breadcrumb-item { color: rgba(255,255,255,.72); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.breadcrumb .active { color: #fff; }

/* ---------- service cards ---------- */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(201,110,61,.35); }
.svc-card .thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand-100); }
.svc-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.svc-card:hover .thumb img { transform: scale(1.07); }
.svc-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,51,52,0) 45%, rgba(13,51,52,.55));
  opacity: .85;
}
.svc-card .tag {
  position: absolute; z-index: 2; left: 16px; top: 16px;
  background: rgba(255,255,255,.95); color: var(--teal-800);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.svc-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.svc-card h3 a { color: inherit; }
.svc-card p { font-size: .94rem; color: var(--body); margin-bottom: 18px; }
.svc-card .ic-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--clay-600); }
.svc-card .ic-row svg { width: 22px; height: 22px; }
.svc-card .mt-auto .btn { width: 100%; }

/* ---------- feature / value cards ---------- */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; height: 100%; transition: all .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(35,134,125,.3); }
.feature .ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { font-size: .93rem; margin: 0; }

.glass-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 24px; height: 100%;
  transition: background .3s ease, transform .3s ease;
}
.glass-card:hover { background: rgba(255,255,255,.11); transform: translateY(-5px); }
.glass-card .ic { color: var(--gold); margin-bottom: 14px; }
.glass-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.glass-card p { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }

/* ---------- process ---------- */
.process-item { position: relative; padding-left: 58px; padding-bottom: 26px; }
.process-item:last-child { padding-bottom: 0; }
.process-item::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--clay-300), rgba(233,219,202,.4));
}
.process-item:last-child::before { display: none; }
.process-item .dot {
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--clay-100); color: var(--clay-700); display: grid; place-items: center;
}
.process-item .dot svg { width: 18px; height: 18px; }
.process-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.process-item p { font-size: .93rem; margin: 0; }

/* ---------- testimonials ---------- */
.quote-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 30px; height: 100%;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.quote-card .mark {
  font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--clay-300);
  display: block; margin-bottom: 14px;
}
.quote-card p { font-size: .98rem; color: var(--ink); font-style: italic; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700);
  display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); flex: 0 0 46px;
}
.quote-card .who strong { display: block; color: var(--teal-900); font-size: .96rem; }
.quote-card .who span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }

/* ---------- blog ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .3s ease;
}
.post-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-100); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 12px;
}
.post-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--clay-300); }
.post-card h3 { font-size: 1.22rem; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a { color: var(--teal-900); }
.post-card h3 a:hover { color: var(--clay-600); }
.post-card p { font-size: .93rem; }

.article { max-width: 760px; }
.article h2 { font-size: 1.6rem; margin: 38px 0 14px; }
.article h3 { font-size: 1.22rem; margin: 28px 0 10px; }
.article p, .article li { font-size: 1.02rem; line-height: 1.85; }
.article ul { padding-left: 1.1rem; }
.article ul li { margin-bottom: 10px; }
.article ul li::marker { color: var(--clay-500); }
.article .hero-img { border-radius: var(--radius-lg); margin-bottom: 34px; box-shadow: var(--shadow); }
.pull-quote {
  border-left: 4px solid var(--clay-500); padding: 6px 0 6px 24px; margin: 32px 0;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--teal-800); font-style: italic;
}
.author-box {
  display: flex; gap: 16px; align-items: center; background: var(--sand-100);
  border-radius: var(--radius); padding: 22px 24px; margin-top: 44px;
}
.author-box .avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--teal-700); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: 0 0 54px;
}
.sidebar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); position: sticky; top: 128px;
}
.sidebar-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.mini-post { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-post img { width: 74px; height: 62px; object-fit: cover; border-radius: 10px; flex: 0 0 74px; }
.mini-post strong { display: block; font-size: .92rem; color: var(--teal-900); font-family: var(--font-body); line-height: 1.4; }
.mini-post span { font-size: .78rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,51,52,.94) 12%, rgba(13,51,52,.72) 55%, rgba(180,92,48,.55));
}
.cta-band .inner { position: relative; padding: 68px 56px; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; }
@media (max-width: 767.98px) { .cta-band .inner { padding: 46px 26px; } }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
@media (max-width: 575.98px) { .form-card { padding: 26px 20px; } }
.form-label { font-weight: 600; color: var(--teal-900); font-size: .9rem; margin-bottom: 6px; }
.form-control, .form-select {
  border: 1px solid var(--sand-200); background: var(--cream); border-radius: 12px;
  padding: .72rem .95rem; font-size: .95rem; color: var(--ink);
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(35,134,125,.12);
}
.form-control::placeholder { color: #a9b4b1; }
.form-check-input:checked { background-color: var(--teal-600); border-color: var(--teal-600); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(35,134,125,.12); }
.form-note { font-size: .82rem; color: var(--muted); }
.form-alert { display: none; }
.form-alert.show { display: block; }
.field-error { color: #b3261e; font-size: .8rem; margin-top: 5px; display: none; }
.field-error.show { display: block; }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; height: 100%;
}
.info-card .ic {
  width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center; margin-bottom: 16px;
}
.info-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: .95rem; margin-bottom: 0; }
.info-card.address .ic { background: var(--clay-100); color: var(--clay-600); }
.address-block {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--teal-900); line-height: 1.5;
}

/* ---------- newsletter pages ---------- */
.newsletter-wrap {
  background: linear-gradient(150deg, var(--teal-800), var(--teal-600) 70%, var(--teal-500));
  border-radius: var(--radius-lg); padding: 54px; color: #fff; position: relative; overflow: hidden;
}
.newsletter-wrap::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(217,162,74,.28), transparent 65%);
}
.newsletter-wrap h1, .newsletter-wrap h2 { color: #fff; }
.newsletter-wrap p { color: rgba(255,255,255,.8); }
.newsletter-wrap .form-control, .newsletter-wrap .form-select {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff;
}
.newsletter-wrap .form-control::placeholder { color: rgba(255,255,255,.55); }
.newsletter-wrap .form-control:focus, .newsletter-wrap .form-select:focus {
  background: rgba(255,255,255,.16); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14);
}
.newsletter-wrap .form-select option { color: var(--ink); }
.newsletter-wrap .form-label { color: #fff; }
.newsletter-wrap .form-check-label { color: rgba(255,255,255,.88); }
.newsletter-wrap .form-text { color: rgba(255,255,255,.6) !important; }
.perk-list { list-style: none; padding: 0; margin: 0; }
.perk-list li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.perk-list li:last-child { border-bottom: 0; }
.perk-list svg { color: var(--gold); flex: 0 0 22px; margin-top: 2px; }
.perk-list strong { display: block; color: #fff; font-size: .98rem; }
.perk-list span { color: rgba(255,255,255,.72); font-size: .88rem; }
@media (max-width: 767.98px) { .newsletter-wrap { padding: 34px 24px; } }

/* ---------- legal pages ---------- */
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal p, .legal li { font-size: .98rem; line-height: 1.8; }
.legal ul { padding-left: 1.1rem; }
.legal ul li { margin-bottom: 8px; }
.toc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 128px; }
.toc-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.toc-card a { display: block; padding: 7px 0; font-size: .93rem; border-bottom: 1px dashed var(--line); }
.toc-card a:last-child { border-bottom: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--teal-900); color: rgba(255,255,255,.72);
  padding: 74px 0 0; position: relative;
}
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; font-family: var(--font-display); }
.footer a { color: rgba(255,255,255,.72); font-size: .93rem; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer .about p { color: rgba(255,255,255,.66); font-size: .93rem; margin-top: 16px; }
.footer .contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .93rem; }
.footer .contact-line svg { color: var(--gold); flex: 0 0 18px; margin-top: 3px; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; transition: all .25s ease;
}
.footer .socials a:hover { background: var(--clay-500); transform: translateY(-3px); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 54px; padding: 22px 0;
  font-size: .88rem; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- misc ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--teal-800); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- inline icon sizing (svgs have no width/height of their own) ---------- */
svg { flex-shrink: 0; }
.btn svg, .topbar svg, .footer .socials a svg, .link-arrow svg,
.pill svg, .author-box svg, .post-meta svg, .form-check-label svg {
  width: 1.1em; height: 1.1em; vertical-align: -.14em;
}
.footer .socials a svg { width: 20px; height: 20px; vertical-align: middle; }
.link-arrow svg { width: 1.05em; height: 1.05em; }
.glass-card .ic svg { width: 28px; height: 28px; }
.glass-card .ic { display: inline-grid; place-items: center; }
.info-card .ic svg { width: 24px; height: 24px; }
.hero-art .chip .ic svg { width: 22px; height: 22px; }
.pill svg { width: 14px; height: 14px; }
.quote-card .stars svg { width: 15px; height: 15px; vertical-align: -.1em; }
.footer .contact-line svg { width: 18px; height: 18px; }
.perk-list svg { width: 22px; height: 22px; }

.svc-card, .legal h2[id], section[id] { scroll-margin-top: 128px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .svc-card:hover, .feature:hover, .post-card:hover, .glass-card:hover { transform: none; }
}
.pill {
  display: inline-block; background: var(--teal-50); color: var(--teal-700);
  border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em;
}
.pill-clay { background: var(--clay-100); color: var(--clay-700); }
.gap-y-24 { row-gap: 24px; }
.gap-y-32 { row-gap: 32px; }
.wavy { display: block; width: 100%; height: auto; }
