/* ==========================================================================
   Home Repair Tool — homerepairtool.com
   Custom design system layered on top of Bootstrap grid
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10262b;
  --ink-2: #1b3a42;
  --ink-3: #2c515a;
  --clay: #bf5b32;
  --clay-2: #d97845;
  --clay-soft: #f6e7dd;
  --sage: #6b8b72;
  --sage-soft: #e6ede7;
  --sand: #fbf7f1;
  --sand-2: #f3ece1;
  --white: #ffffff;
  --muted: #5e7278;
  --line: rgba(16, 38, 43, 0.1);
  --line-strong: rgba(16, 38, 43, 0.18);
  --shadow-sm: 0 2px 10px rgba(16, 38, 43, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(16, 38, 43, 0.28);
  --shadow-lg: 0 34px 70px -30px rgba(16, 38, 43, 0.4);
  --radius: 18px;
  --radius-lg: 26px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.18rem; }
h5 { font-size: 1.02rem; }

p { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.text-ink { color: var(--ink) !important; }
.text-clay { color: var(--clay) !important; }
.text-muted-soft { color: var(--muted) !important; }
.bg-sand { background: var(--sand); }
.bg-sand-2 { background: var(--sand-2); }
.bg-ink { background: var(--ink); }
.lead-lg { font-size: 1.08rem; line-height: 1.8; color: var(--muted); }

.section { padding: clamp(3.6rem, 7vw, 6.4rem) 0; }
.section-sm { padding: clamp(2.6rem, 5vw, 4rem) 0; }
.section-tight-bottom { padding-bottom: 0; }

::selection { background: var(--clay); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(191, 91, 50, .45);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: 999px;
  padding: .78rem 1.65rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn:active { transform: translateY(1px); }

.btn-clay {
  background: linear-gradient(135deg, var(--clay-2), var(--clay));
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(191, 91, 50, .85);
}
.btn-clay:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(191, 91, 50, .9);
}

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

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

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

.btn-sm { padding: .55rem 1.15rem; font-size: .86rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1rem; }

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

/* ---------------------------------------------------------------- logo ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  white-space: nowrap;
  text-decoration: none !important;
}
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: block;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand--light .brand-name { color: #fff; }

/* -------------------------------------------------------------- topbar ---- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .84rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: #fff; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-sep { color: rgba(255, 255, 255, .25); margin: 0 .95rem; }

/* ------------------------------------------------------------- navbar ----- */
.site-nav {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: .85rem 0;
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-nav.is-stuck { box-shadow: 0 12px 30px -22px rgba(16, 38, 43, .5); padding: .55rem 0; }

.site-nav .navbar-nav .nav-link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-2);
  padding: .55rem .95rem;
  border-radius: 999px;
  position: relative;
}
.site-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: .28rem;
  width: 0; height: 2px;
  background: var(--clay);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .28s ease;
}
.site-nav .navbar-nav .nav-link:hover { color: var(--clay); }
.site-nav .navbar-nav .nav-link:hover::after,
.site-nav .navbar-nav .nav-link.active::after { width: 18px; }
.site-nav .navbar-nav .nav-link.active { color: var(--ink); font-weight: 600; }

.navbar-toggler {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .45rem .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='%2310262b' stroke-linecap='round' stroke-width='2' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(97deg, rgba(9, 26, 31, .93) 0%, rgba(9, 26, 31, .78) 42%, rgba(9, 26, 31, .28) 78%, rgba(9, 26, 31, .15) 100%),
    linear-gradient(0deg, rgba(9, 26, 31, .55), rgba(9, 26, 31, 0) 45%);
}
.hero-inner { padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.4rem, 7vw, 6rem); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: #f0b48c;
}
.hero p.hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1.09rem;
  max-width: 34rem;
  margin-top: 1.15rem;
}
.hero .eyebrow { color: #f0b48c; }
.hero .eyebrow::before { background: rgba(240, 180, 140, .6); }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}
.hero-chips span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
  border-radius: 999px;
  padding: .38rem .9rem;
  backdrop-filter: blur(6px);
}

.hero-card {
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .6);
}
.hero-card h4 { margin-bottom: .35rem; }
.hero-card .hc-list { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; }
.hero-card .hc-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--muted);
  padding: .32rem 0;
}
.hero-card .hc-list svg { flex: 0 0 18px; margin-top: .18rem; color: var(--sage); }

/* ---------------------------------------------------------- page hero ----- */
.page-hero {
  position: relative;
  background: linear-gradient(140deg, var(--ink) 0%, #173a43 58%, #24505a 100%);
  color: #fff;
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(2.8rem, 5vw, 4.4rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -8%; top: -55%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(217, 120, 69, .32), rgba(217, 120, 69, 0) 62%);
}
.page-hero::after {
  content: '';
  position: absolute;
  left: -6%; bottom: -70%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(107, 139, 114, .3), rgba(107, 139, 114, 0) 65%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 44rem; margin-top: .9rem; }
.page-hero .eyebrow { color: #f0b48c; }
.page-hero .eyebrow::before { background: rgba(240, 180, 140, .6); }

.crumbs { font-size: .84rem; color: rgba(255, 255, 255, .6); margin-top: 1.5rem; }
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 .5rem; color: rgba(255, 255, 255, .35); }

/* ------------------------------------------------------------ eyebrow ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1.5px;
  background: var(--clay);
  border-radius: 2px;
}
.eyebrow.center { justify-content: center; }

.section-head { max-width: 46rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: .85rem; }

/* ------------------------------------------------------- service cards ---- */
.service-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 91, 50, .35);
}
.service-card .sc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand-2);
}
.service-card .sc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .3, 1);
}
.service-card:hover .sc-media img { transform: scale(1.06); }
.service-card .sc-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 38, 43, 0) 45%, rgba(16, 38, 43, .34));
  opacity: 0;
  transition: opacity .35s ease;
}
.service-card:hover .sc-media::after { opacity: 1; }
.service-card .sc-tag {
  position: absolute;
  left: 1rem; top: 1rem;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .34rem .78rem;
  z-index: 1;
}
.service-card .sc-body {
  padding: 1.5rem 1.6rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-card h3 {
  font-size: 1.24rem;
  margin-bottom: .6rem;
}
.service-card p {
  font-size: .93rem;
  line-height: 1.72;
  margin-bottom: 1.35rem;
}
.service-card .sc-foot { margin-top: auto; }

/* --------------------------------------------------------- icon cards ----- */
.icon-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.icon-card h5 { margin: .9rem 0 .45rem; font-family: var(--font-display); font-size: 1.12rem; }
.icon-card p { font-size: .92rem; }
.icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay-soft);
  color: var(--clay);
}
.icon-badge.sage { background: var(--sage-soft); color: #4c6b54; }
.icon-badge.ink { background: rgba(16, 38, 43, .07); color: var(--ink); }

/* ------------------------------------------------------------ process ----- */
.process-list { list-style: none; margin: 0; padding: 0; }
.process-item {
  position: relative;
  display: flex;
  gap: 1.35rem;
  padding: 0 0 2.1rem 0;
}
.process-item:last-child { padding-bottom: 0; }
.process-item::before {
  content: '';
  position: absolute;
  left: 23px; top: 52px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}
.process-item:last-child::before { display: none; }
.process-ico {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  color: var(--clay);
  z-index: 1;
}
.process-item h5 { margin-bottom: .3rem; font-family: var(--font-display); font-size: 1.1rem; }
.process-item p { font-size: .93rem; }

/* --------------------------------------------------------- testimonial ---- */
.quote-card {
  height: 100%;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.9rem;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card .qmark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: .6;
  color: var(--clay-soft);
  display: block;
  margin-bottom: .8rem;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 1.3rem;
}
.quote-who { display: flex; align-items: center; gap: .8rem; }
.avatar-initials {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: #3f5d47;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  flex: 0 0 42px;
}
.quote-who .qname { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.quote-who .qrole { font-size: .8rem; color: var(--muted); }

/* -------------------------------------------------------------- blog ------ */
.blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(191, 91, 50, .3); }
.blog-card .bc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand-2); }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .3, 1); }
.blog-card:hover .bc-media img { transform: scale(1.05); }
.bc-cat {
  position: absolute;
  left: 1rem; top: 1rem;
  background: var(--ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .32rem .72rem;
}
.blog-card .bc-body { padding: 1.45rem 1.55rem 1.6rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: .6rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--clay); }
.blog-card p { font-size: .92rem; margin-bottom: 1.2rem; }
.blog-card .bc-foot { margin-top: auto; }

/* ------------------------------------------------------------- article ---- */
.article-wrap { max-width: 46rem; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 2.2rem 0 .8rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.7rem 0 .6rem; }
.article-body p { font-size: 1.02rem; line-height: 1.85; color: #4e6469; }
.article-body ul, .article-body ol { color: #4e6469; padding-left: 1.15rem; margin-bottom: 1.2rem; }
.article-body li { margin-bottom: .5rem; font-size: 1.01rem; line-height: 1.75; }
.article-body li::marker { color: var(--clay); }
.article-body img { border-radius: var(--radius); margin: 1.6rem 0; }
.article-body .lead-in {
  font-size: 1.14rem;
  line-height: 1.78;
  color: var(--ink-2);
  font-family: var(--font-display);
  font-style: italic;
  border-left: 3px solid var(--clay);
  padding-left: 1.2rem;
  margin-bottom: 1.6rem;
}
.pull-note {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin: 1.8rem 0;
}
.pull-note h5 { margin-bottom: .45rem; }
.pull-note p { font-size: .94rem; }

.article-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.side-card + .side-card { margin-top: 1.5rem; }
.side-card h5 { margin-bottom: .6rem; }
.side-card p { font-size: .92rem; }
.related-item { display: flex; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.related-item:last-child { border-bottom: 0; padding-bottom: 0; }
.related-item:first-of-type { padding-top: .4rem; }
.related-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: 0 0 64px; }
.related-item .ri-title { font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.4; display: block; }
.related-item .ri-title:hover { color: var(--clay); }
.related-item .ri-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--clay); font-weight: 600; }

/* ---------------------------------------------------------------- forms --- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}
.form-control, .form-select {
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: .72rem .95rem;
  font-size: .95rem;
  color: var(--ink-2);
  background-color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control::placeholder { color: #9baaae; }
.form-control:focus, .form-select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(191, 91, 50, .12);
  color: var(--ink);
}
.form-check-input { border-radius: 5px; border: 1.5px solid var(--line-strong); }
.form-check-input:checked { background-color: var(--clay); border-color: var(--clay); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(191, 91, 50, .12); }
.form-check-label { font-size: .9rem; color: var(--muted); }
.form-text { font-size: .82rem; color: var(--muted); }

.form-alert {
  border-radius: var(--radius);
  border: 1px solid #cfe3d3;
  background: #f2f8f3;
  color: #35603f;
  padding: 1.1rem 1.3rem;
  font-size: .95rem;
  display: none;
}
.form-alert.show { display: flex; gap: .7rem; align-items: flex-start; }

/* ------------------------------------------------------------- contact ---- */
.contact-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-tile h5 { margin: .9rem 0 .35rem; font-family: var(--font-display); font-size: 1.08rem; }
.contact-tile p, .contact-tile a { font-size: .95rem; }
.contact-tile .ct-val { color: var(--ink-2); font-weight: 500; }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.map-frame svg { display: block; width: 100%; height: auto; }

.info-panel {
  background: linear-gradient(150deg, var(--ink) 0%, #1a4049 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
}
.info-panel h4 { color: #fff; }
.info-panel p { color: rgba(255, 255, 255, .74); }
.info-row { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.info-row:last-child { border-bottom: 0; }
.info-row .ir-ico {
  flex: 0 0 38px; width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  color: #f0b48c;
  display: inline-flex; align-items: center; justify-content: center;
}
.info-row .ir-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); margin-bottom: .15rem; }
.info-row .ir-val { font-size: .96rem; color: #fff; font-weight: 500; line-height: 1.55; }
.info-row a.ir-val:hover { color: #f0b48c; }

/* --------------------------------------------------------------- cta ------ */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, #14343d 0%, #1d4750 55%, #2a5a5f 100%);
  color: #fff;
  padding: clamp(2.2rem, 4.5vw, 3.6rem);
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 120, 69, .38), transparent 68%);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); }
.cta-band .container, .cta-band > .row { position: relative; z-index: 1; }

.cta-full {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-full::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 120, 69, .28), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(107, 139, 114, .22), transparent 55%);
  pointer-events: none;
}
.cta-full .container { position: relative; z-index: 1; }
.cta-full h2 { color: #fff; }
.cta-full p { color: rgba(255, 255, 255, .76); }

/* -------------------------------------------------------------- footer ---- */
.site-footer {
  background: #0c1f24;
  color: rgba(255, 255, 255, .62);
  padding: clamp(3rem, 6vw, 4.6rem) 0 0;
  font-size: .93rem;
}
.site-footer h6 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.15rem;
}
.site-footer p { color: rgba(255, 255, 255, .58); font-size: .93rem; }
.site-footer a { color: rgba(255, 255, 255, .66); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; }
.footer-links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transition: background .2s ease;
}
.footer-links a:hover::before { background: var(--clay-2); }

.footer-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 16px; margin-top: .28rem; color: var(--clay-2); }

.socials { display: flex; gap: .55rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .75);
  transition: all .25s ease;
}
.socials a:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 2.8rem;
  padding: 1.4rem 0;
  font-size: .86rem;
  color: rgba(255, 255, 255, .48);
}
.footer-bottom a { color: rgba(255, 255, 255, .62); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------- misc ----- */
.divider-soft { height: 1px; background: var(--line); border: 0; opacity: 1; margin: 0; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-stack { position: relative; }

.offset-tag {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--clay);
  color: #fff;
  border-radius: 16px;
  padding: .9rem 1.15rem;
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 200px;
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .95rem; color: var(--muted);
  margin-bottom: .65rem;
}
.check-list svg { flex: 0 0 20px; margin-top: .2rem; color: var(--sage); }

.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list span {
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .36rem .85rem;
}

.value-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.9rem;
  height: 100%;
  border: 1px solid rgba(16, 38, 43, .06);
}
.value-card h5 { font-family: var(--font-display); margin: .85rem 0 .45rem; font-size: 1.1rem; }
.value-card p { font-size: .93rem; }

.legal-wrap { max-width: 52rem; }
.legal-body h2 { font-size: 1.4rem; margin: 2.1rem 0 .7rem; }
.legal-body h3 { font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
.legal-body p, .legal-body li { font-size: .98rem; line-height: 1.8; color: #4e6469; }
.legal-body ul { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.legal-body li { margin-bottom: .45rem; }
.legal-body li::marker { color: var(--clay); }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }

.toc-card {
  position: sticky;
  top: 100px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.toc-card h6 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--clay); font-weight: 700; margin-bottom: .9rem;
}
.toc-card ol { margin: 0; padding-left: 1.1rem; }
.toc-card li { margin-bottom: .55rem; font-size: .9rem; }
.toc-card a { color: var(--ink-2); }
.toc-card a:hover { color: var(--clay); }

/* desktop-only sticky sidebars */
@media (min-width: 992px) {
  .sticky-lg { position: sticky; top: 100px; }
}

/* ------------------------------------------------------------ reveal ------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .blog-card, .icon-card, .quote-card { transition: none; }
}

/* ---------------------------------------------------------- responsive ---- */
@media (max-width: 991.98px) {
  .site-nav { padding: .7rem 0; }
  .site-nav .navbar-collapse {
    margin-top: .9rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .8rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav .navbar-nav .nav-link { padding: .6rem .9rem; }
  .site-nav .navbar-nav .nav-link::after { display: none; }
  .nav-cta { margin-top: .6rem; }
  .offset-tag { position: static; margin-top: 1rem; display: inline-block; max-width: none; }
  .toc-card { position: static; margin-bottom: 2rem; }
  .hero-inner { padding-top: 3.2rem; }
}

@media (max-width: 767.98px) {
  .topbar { font-size: .78rem; }
  .topbar .tb-sep { margin: 0 .55rem; }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .hero-card { padding: 1.5rem; margin-top: .5rem; }
  .section { padding: 3rem 0; }
}

@media (max-width: 399.98px) {
  .brand-name { font-size: 1rem; }
}
