/* ==========================================================================
   Home With Makeover — Brand Stylesheet
   Layers on top of Bootstrap 5 (grid + components only)
   ========================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  --ink: #122C27;
  --ink-soft: #1D453C;
  --ink-deep: #0C1E1A;
  --brand: #C4694A;
  --brand-dark: #A9543A;
  --brand-tint: #F6E7DF;
  --amber: #E3A23F;
  --amber-tint: #FBF0DC;
  --sand: #FBF7F2;
  --cream: #FFFDFA;
  --muted: #5F6E69;
  --line: rgba(18, 44, 39, .10);
  --line-strong: rgba(18, 44, 39, .18);
  --shadow-sm: 0 4px 16px rgba(18, 44, 39, .06);
  --shadow: 0 18px 40px -18px rgba(18, 44, 39, .28);
  --shadow-lg: 0 34px 70px -30px rgba(18, 44, 39, .38);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

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

h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); }

p { color: var(--muted); }
a { text-decoration: none; color: var(--brand-dark); transition: color .25s var(--ease); }
a:hover { color: var(--brand); }

.lead { font-size: 1.06rem; color: var(--muted); }
.text-ink { color: var(--ink) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section-sm { padding: clamp(40px, 5vw, 68px) 0; }
.divider-tight { border: 0; border-top: 1px solid var(--line); opacity: 1; }

::selection { background: var(--amber-tint); color: var(--ink); }

/* ----------  Buttons  ---------- */
.btn {
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: .72rem 1.5rem;
  transition: all .28s var(--ease);
  border-width: 2px;
}
.btn:focus-visible { box-shadow: 0 0 0 .25rem rgba(196, 105, 74, .32); }

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(196, 105, 74, .9);
}
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-2px); }

.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: #fff; transform: translateY(-2px); }

.btn-outline-ink { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #d1902f; border-color: #d1902f; color: var(--ink); transform: translateY(-2px); }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.02rem; }
.btn .bi, .btn svg { vertical-align: -2px; }

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

/* ----------  Top strip + navigation  ---------- */
.topstrip {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  padding: .5rem 0;
}
.topstrip a { color: rgba(255, 255, 255, .82); }
.topstrip a:hover { color: #fff; }
.topstrip .sep { opacity: .35; padding: 0 .55rem; }

.site-nav {
  background: rgba(255, 253, 250, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(18, 44, 39, .55); background: rgba(255, 253, 250, .96); }

.brandmark { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.brandmark .mark { flex: 0 0 auto; }
.brandmark .wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: nowrap;
  line-height: 1.1;
}
.brandmark .wordmark.dark-on-light { color: var(--ink); }
.brandmark .wordmark.light { color: #fff; }

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: .6rem .85rem !important;
  position: relative;
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .34rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--brand-dark); }
.navbar-toggler { border: 1px solid var(--line-strong); border-radius: 12px; padding: .35rem .6rem; }
.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='%23122C27' stroke-width='2.4' stroke-linecap='round' d='M4 9h22M4 15h22M4 21h22'/%3E%3C/svg%3E"); }
.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .5rem; }
.dropdown-item { border-radius: 10px; font-size: .94rem; font-weight: 500; padding: .5rem .75rem; }
.dropdown-item:hover { background: var(--sand); color: var(--brand-dark); }

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 82% 8%, rgba(227, 162, 63, .22), transparent 62%),
    radial-gradient(760px 520px at 8% 92%, rgba(196, 105, 74, .18), transparent 60%),
    linear-gradient(160deg, #FFFDFA 0%, #F8F2EA 52%, #F3EAE0 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23122C27' stroke-opacity='.05'%3E%3Cpath d='M0 28h56M28 0v56'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .8;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.1;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border: 2px solid rgba(196, 105, 74, .35);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.float-card {
  position: absolute;
  background: rgba(255, 253, 250, .96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: .7rem .95rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-card.tl { top: 22px; left: -14px; }
.float-card.br { bottom: 34px; right: -10px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42rem .9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.eyebrow svg { color: var(--brand); }

.hero-tick { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-tick .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid; place-items: center;
}

/* Wave / curve dividers */
.wave-sep { display: block; width: 100%; height: auto; margin-bottom: -1px; color: var(--cream); }
.wave-sep.to-sand { color: var(--sand); }
.wave-sep.to-ink { color: var(--ink); }
.wave-sep.flip { transform: rotate(180deg); }

/* ----------  Section headings  ---------- */
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: .7rem; }
.rule-dot {
  width: 68px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
  margin-bottom: 1rem;
}
.center .rule-dot { margin-inline: auto; }

/* ----------  Cards  ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* cards that sit alone in a grid column stretch to match their neighbour */
.service-card, .blog-card, .quote-card, .feature-card, .step-card, .contact-tile { height: 100%; }
/* stacked cards in a sidebar keep their natural height */
.col-lg-5 > .card-soft, .col-lg-4 > .card-soft, .col-lg-8 > .card-soft { height: auto; }
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(196, 105, 74, .35); }

/* Service card */
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card .thumb { position: relative; overflow: hidden; }
.service-card .thumb img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  transition: transform .7s var(--ease);
  display: block;
}
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 30, 26, 0) 42%, rgba(12, 30, 26, .55) 100%);
}
.service-card .chip {
  position: absolute;
  left: 16px; bottom: -24px;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.service-card .body { padding: 2.9rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-card h3 { font-size: 1.24rem; margin-bottom: .5rem; }
.service-card p { font-size: .95rem; margin-bottom: 1.1rem; }
.service-card .btn { align-self: flex-start; margin-top: auto; }
.service-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255, 253, 250, .94);
  color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: var(--radius-pill);
}

/* Icon feature card */
.feature-card { padding: 1.7rem 1.5rem; }
.icon-chip {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  color: var(--brand-dark);
  margin-bottom: 1rem;
}
.icon-chip.amber { background: var(--amber-tint); color: #a9711d; }
.icon-chip.ink { background: rgba(18, 44, 39, .08); color: var(--ink); }

/* Process / step card (icon based, no numerals) */
.step-card { padding: 1.6rem 1.4rem; position: relative; }
.step-card h3 { font-size: 1.1rem; }
.step-line {
  position: absolute; top: 46px; right: -18px; width: 36px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
  display: none;
}
@media (min-width: 992px) { .step-line { display: block; } }
.col-step:last-child .step-line { display: none; }

/* Testimonial */
.quote-card { padding: 1.8rem 1.6rem; }
.quote-card .quote-mark { color: var(--brand); opacity: .55; }
.quote-card blockquote { font-family: var(--font-serif); font-size: 1.03rem; color: var(--ink); line-height: 1.62; }
.who { display: flex; align-items: center; gap: .7rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(140deg, var(--ink), var(--ink-soft));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-serif);
}

.avatar-lg { width: 58px; height: 58px; font-size: 1.05rem; }
.avatar-sm { width: 38px; height: 38px; font-size: .8rem; }

/* Blog card */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { overflow: hidden; }
.blog-card .thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .7s var(--ease); display: block; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card .pill { align-self: flex-start; }
.blog-card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand-dark); }
.blog-card .btn { align-self: flex-start; margin-top: auto; }
.pill {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-tint);
  padding: .32rem .72rem; border-radius: var(--radius-pill);
}
.pill.amber { color: #99651a; background: var(--amber-tint); }
.pill.ink { color: var(--ink); background: rgba(18, 44, 39, .08); }

/* Photo + text split */
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3; }
.split-media .badge-soft {
  position: absolute; bottom: -18px; left: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: .8rem 1.05rem;
  display: flex; align-items: center; gap: .65rem; font-weight: 600; font-size: .9rem;
}
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .7rem; color: var(--muted); }
.tick-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-dark);
  display: grid; place-items: center; margin-top: .2rem;
}
.tick-list.light li { color: rgba(255, 255, 255, .82); }
.tick-list.light .tick { background: rgba(255, 255, 255, .14); color: #fff; }

/* ----------  CTA band  ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #1B4A40 58%, #245F51 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.4rem);
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40% -10% auto auto;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 162, 63, .40), transparent 66%);
}
.cta-band::after {
  content: "";
  position: absolute; inset: auto auto -50% -8%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 105, 74, .42), transparent 68%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .84); }

/* ----------  Page hero (inner pages)  ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(150deg, var(--ink) 0%, #1A463C 55%, #22604F 100%);
  color: #fff;
  padding: clamp(52px, 7vw, 92px) 0 clamp(46px, 6vw, 78px);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07'%3E%3Cpath d='M0 32h64M32 0v64'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .82); }
.crumbs { font-size: .86rem; color: rgba(255, 255, 255, .68); }
.crumbs a { color: rgba(255, 255, 255, .86); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { padding: 0 .45rem; opacity: .5; }

/* ----------  Forms  ---------- */
.form-label { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  padding: .72rem .95rem;
  font-size: .95rem;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .22rem rgba(196, 105, 74, .16);
}
.form-control::placeholder { color: #9AA6A2; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(196, 105, 74, .18); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.alert-soft {
  border: 1px solid rgba(196, 105, 74, .3);
  background: var(--brand-tint);
  color: var(--brand-dark);
  border-radius: 14px;
  padding: .9rem 1.1rem;
  font-weight: 600;
  font-size: .93rem;
}
.alert-soft.ink { background: rgba(18, 44, 39, .06); border-color: var(--line); color: var(--ink); }

/* ----------  Newsletter band ---------- */
.newsletter-band {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(227, 162, 63, .2), transparent 60%),
    linear-gradient(120deg, #F8F1E8, #FBF7F2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}

/* ----------  Legal / long-form content  ---------- */
.legal-wrap { max-width: 940px; margin-inline: auto; }
.legal-body h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 2.2rem 0 .8rem;
  padding-top: .4rem;
}
.legal-body h3 { font-size: 1.08rem; margin: 1.5rem 0 .5rem; }
.legal-body p, .legal-body li { color: var(--muted); font-size: .97rem; }
.legal-body ul, .legal-body ol { padding-left: 1.15rem; }
.legal-body ul li, .legal-body ol li { margin-bottom: .5rem; }
.legal-body strong { color: var(--ink); }
.toc-card { position: sticky; top: 108px; padding: 1.3rem 1.2rem; }
.toc-card ol, .toc-card ul { padding-left: 1.1rem; margin: 0; }
.toc-card li { margin-bottom: .45rem; font-size: .9rem; }
.toc-card a { color: var(--muted); font-weight: 500; }
.toc-card a:hover { color: var(--brand-dark); }
.legal-meta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; color: var(--muted); background: var(--sand);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .35rem .85rem;
}

/* Article (blog single) */
.article-hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-body { max-width: 820px; margin-inline: auto; }
.article-body h2 { margin: 2rem 0 .8rem; font-size: clamp(1.3rem, 2.1vw, 1.7rem); }
.article-body h3 { margin: 1.5rem 0 .5rem; font-size: 1.1rem; }
.article-body p, .article-body li { color: #4C5C57; font-size: 1.02rem; }
.article-body ul, .article-body ol { padding-left: 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--brand);
  background: var(--sand);
  padding: 1rem 1.2rem;
  border-radius: 0 14px 14px 0;
  font-family: var(--font-serif);
  color: var(--ink);
  margin: 1.4rem 0;
}
.pullquote-soft {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.author-strip { display: flex; align-items: center; gap: .9rem; }
.share-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.social-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--sand); border: 1px solid var(--line); color: var(--ink);
  transition: all .25s var(--ease);
}
.social-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.site-footer .social-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.site-footer .social-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ----------  Contact  ---------- */
.contact-tile { padding: 1.5rem 1.4rem; }
.contact-tile a { font-weight: 600; }
.map-frame {
  border: 0; width: 100%; height: 380px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-shell .map-note {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255, 253, 250, .95); border: 1px solid var(--line);
  border-radius: 12px; padding: .5rem .8rem; font-size: .82rem; font-weight: 600; color: var(--ink);
}

/* ----------  Footer  ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .72); padding-top: clamp(48px, 6vw, 76px); }
.site-footer h4, .site-footer h5 { color: #fff; font-size: 1rem; letter-spacing: .01em; }
.site-footer h5 {
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: rgba(255, 255, 255, .62); margin-bottom: 1rem;
}
.site-footer a { color: rgba(255, 255, 255, .74); font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .8; transition: transform .25s var(--ease); }
.footer-links a:hover::before { transform: scale(1.5); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .93rem; }
.footer-contact svg { flex: 0 0 auto; margin-top: .25rem; color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: clamp(32px, 4vw, 52px);
  padding: 1.15rem 0;
  font-size: .87rem;
}
.footer-bottom .sep { opacity: .35; padding: 0 .5rem; }
.news-mini { display: flex; gap: .5rem; flex-wrap: wrap; }
.news-mini .form-control { border-radius: var(--radius-pill); border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .07); color: #fff; }
.news-mini .form-control::placeholder { color: rgba(255, 255, 255, .55); }
.news-mini .form-control:focus { background: rgba(255, 255, 255, .12); color: #fff; border-color: var(--brand); box-shadow: none; }

/* ----------  Marquee of service keywords (text only)  ---------- */
.keyrow { display: flex; flex-wrap: wrap; gap: .55rem; }
.keyrow span {
  font-size: .82rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: .38rem .85rem;
}

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

/* ----------  Reveal on scroll  ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------  Utilities / responsive  ---------- */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-sm) !important; }
.mw-720 { max-width: 720px; }
.mw-620 { max-width: 620px; }
.hover-lift { transition: transform .3s var(--ease); }
.hover-lift:hover { transform: translateY(-4px); }

@media (max-width: 991.98px) {
  .step-line { display: none; }
  .float-card.tl { left: 8px; top: 12px; }
  .float-card.br { right: 8px; bottom: 14px; }
  .hero-media::after { display: none; }
  .site-nav .nav-link { padding: .7rem .2rem !important; }
  .site-nav .nav-link::after { display: none; }
  .navbar-collapse { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .6rem; }
}
@media (max-width: 575.98px) {
  .float-card { font-size: .78rem; padding: .55rem .7rem; }
  .brandmark .wordmark { font-size: 1.1rem; }
  .topstrip { font-size: .78rem; }
}
