/* ==========================================================================
   Elite Home Rebuild — Core Stylesheet
   Palette: deep ink, warm cream, brushed gold
   ========================================================================== */

@import url("../assets/fonts/fonts.css");

:root {
  --ink: #11161c;
  --ink-2: #1a212a;
  --ink-3: #232c37;
  --cream: #f8f4ed;
  --cream-2: #f1e9dd;
  --sand: #e7dcc9;
  --gold: #bf9247;
  --gold-2: #d8b273;
  --gold-soft: #f0e2c8;
  --body: #4a4f57;
  --muted: #7d8189;
  --white: #ffffff;
  --line: rgba(17, 22, 28, 0.1);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 2px 10px rgba(17, 22, 28, 0.06);
  --shadow-md: 0 18px 40px -22px rgba(17, 22, 28, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(17, 22, 28, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --header-h: 86px;
  --topbar-h: 36px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

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

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

h1,
.h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.15rem);
}

h2,
.h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
}

h3,
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

p {
  margin-bottom: 1.1rem;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--gold-2);
  color: var(--ink);
}

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

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

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

.bg-ink {
  background: var(--ink) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.bg-cream-2 {
  background: var(--cream-2) !important;
}

.bg-sand {
  background: var(--sand) !important;
}

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lead-lg {
  font-size: 1.09rem;
  line-height: 1.85;
  color: var(--body);
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  position: relative;
}

.section-tight {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.container {
  max-width: 1220px;
  padding-left: 22px;
  padding-right: 22px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.eyebrow.centered::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-title {
  margin-bottom: 1.15rem;
}

.section-sub {
  color: var(--body);
  max-width: 620px;
  line-height: 1.85;
}

.title-rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 1.6rem 0;
}

.center .title-rule {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.95rem 1.85rem;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  line-height: 1.2;
}

.btn:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(191, 146, 71, 0.35);
  outline: none;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(191, 146, 71, 0.9);
}

.btn-gold:hover,
.btn-gold:focus {
  background: #a97e35;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(169, 126, 53, 0.85);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

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

.btn-outline-ink {
  border-color: rgba(17, 22, 28, 0.35);
  color: var(--ink);
  background: transparent;
}

.btn-outline-ink:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

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

.btn-card {
  padding: 0.7rem 1.35rem;
  font-size: 0.75rem;
  border-color: rgba(17, 22, 28, 0.22);
  color: var(--ink);
  background: transparent;
}

.btn-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-card .btn-arrow,
.btn .btn-arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-lg-x {
  padding: 1.05rem 2.3rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

.link-arrow svg {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--gold);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.79rem;
  letter-spacing: 0.03em;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: height 0.4s var(--ease), opacity 0.3s var(--ease);
}

.topbar > .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-solid .topbar {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
}

.topbar a:hover {
  color: var(--gold-2);
}

.topbar .divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.25);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header .navbar {
  min-height: var(--header-h);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

/* transparent state (home hero) */
.site-header.is-transparent {
  background: linear-gradient(
    to bottom,
    rgba(9, 12, 16, 0.62) 0%,
    rgba(9, 12, 16, 0.26) 62%,
    rgba(9, 12, 16, 0) 100%
  );
}

/* solid state */
.site-header.is-solid {
  background: rgba(248, 244, 237, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(17, 22, 28, 0.6);
}

/* Logo — one single line, identical everywhere */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
}

.brand-text {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.brand-text .b1 {
  color: var(--gold);
}

.brand-text .b2 {
  color: var(--ink);
}

.brand-tagline {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.42rem;
  text-transform: uppercase;
}

/* on dark backgrounds */
.on-dark .brand-text .b2,
.brand.on-dark .b2 {
  color: #fff;
}

.on-dark .brand-tagline,
.brand.on-dark .brand-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.site-header.is-transparent .brand-text .b2 {
  color: #fff;
}

.site-header.is-transparent .brand-tagline {
  color: rgba(255, 255, 255, 0.65);
}

/* nav links */
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.65rem 0.95rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.32rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold);
}

.site-header.is-transparent .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-transparent .navbar-nav .nav-link:hover,
.site-header.is-transparent .navbar-nav .nav-link.active {
  color: #fff;
}

.header-cta {
  padding: 0.72rem 1.5rem;
  font-size: 0.76rem;
}

.navbar-toggler {
  border: 1px solid rgba(17, 22, 28, 0.2);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.site-header.is-transparent .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.toggler-bar {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
}

.site-header.is-transparent .toggler-bar {
  background: #fff;
}

.site-header.is-solid .toggler-bar {
  background: var(--ink);
}

/* mobile menu panel */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 0.9rem;
    padding: 1rem 1.1rem 1.35rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
  }

  .site-header.is-transparent .navbar-collapse {
    background: #fff;
  }

  .site-header.is-transparent .navbar-nav .nav-link,
  .navbar-nav .nav-link {
    color: var(--ink);
    padding: 0.8rem 0.2rem !important;
    border-bottom: 1px solid var(--line);
  }

  .nav-item:last-child .nav-link {
    border-bottom: 0;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .header-cta {
    width: 100%;
    margin-top: 1rem;
  }

  .brand-text {
    font-size: 0.86rem;
    letter-spacing: 0.15em;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-tagline {
    font-size: 0.48rem;
    letter-spacing: 0.26em;
  }
}

@media (max-width: 420px) {
  .brand-text {
    font-size: 0.74rem;
    letter-spacing: 0.11em;
  }

  .brand-tagline {
    letter-spacing: 0.2em;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100vh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 3rem);
  padding-bottom: 4.5rem;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero.jpg");
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.04);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(8, 11, 15, 0.9) 0%,
      rgba(8, 11, 15, 0.66) 42%,
      rgba(8, 11, 15, 0.28) 76%,
      rgba(8, 11, 15, 0.45) 100%
    ),
    radial-gradient(circle at 78% 18%, rgba(191, 146, 71, 0.22), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero h1 .serif-italic {
  color: var(--gold-2);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.07rem;
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 2.1rem;
}

.hero-eyebrow {
  color: var(--gold-2);
}

.hero-eyebrow::before {
  background: var(--gold-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 600px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.hero-badges svg {
  color: var(--gold-2);
  flex: 0 0 auto;
}

/* floating hero card */
.hero-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.9rem 1.7rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  color: #fff;
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.3rem;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hero-card-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.89rem;
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}

.hero-card-list li:last-child {
  border-bottom: 0;
}

.hero-card-list svg {
  color: var(--gold-2);
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Marquee ribbon
   -------------------------------------------------------------------------- */
.ribbon {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.05rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.ribbon-item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex: 0 0 auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track,
  .hero-bg {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
body.inner-page {
  padding-top: calc(var(--header-h) + var(--topbar-h));
}

.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(3.4rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 88% 8%,
      rgba(191, 146, 71, 0.3),
      transparent 52%
    ),
    linear-gradient(115deg, #0d1218 0%, #161d26 58%, #10161d 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(191, 146, 71, 0.22);
  border-radius: 50%;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 780px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 620px;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.85;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.4rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb-nav a:hover {
  color: var(--gold-2);
}

.breadcrumb-nav .sep {
  color: var(--gold);
}

/* small photo hero for about / blog posts */
.page-hero.has-image {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  background-size: cover;
  background-position: center;
}

.page-hero.has-image::before {
  background: linear-gradient(
    100deg,
    rgba(8, 11, 15, 0.92) 0%,
    rgba(8, 11, 15, 0.72) 48%,
    rgba(8, 11, 15, 0.4) 100%
  );
}

.page-hero.has-image::after {
  display: none;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 146, 71, 0.45);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sand);
}

.service-media .media-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.07);
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 18, 0.42), transparent 58%);
}

.service-icon {
  position: absolute;
  left: 1.15rem;
  bottom: -22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px -12px rgba(191, 146, 71, 0.9);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--ink);
}

.service-body {
  padding: 2.15rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.service-body p {
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--body);
  margin-bottom: 1.4rem;
}

.service-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service-body .btn-card {
  border-color: rgba(191, 146, 71, 0.5);
}

/* --------------------------------------------------------------------------
   Feature / value cards
   -------------------------------------------------------------------------- */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: #8d6a2c;
  margin-bottom: 1.25rem;
}

.value-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.78;
  margin-bottom: 0;
}

.value-card.on-dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-light);
}

.value-card.on-dark h3 {
  color: #fff;
}

.value-card.on-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.value-card.on-dark .value-icon {
  background: rgba(191, 146, 71, 0.18);
  color: var(--gold-2);
}

/* --------------------------------------------------------------------------
   Split sections
   -------------------------------------------------------------------------- */
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3.2;
}

.split-media.tall img {
  aspect-ratio: 4 / 4.6;
}

.frame-accent {
  position: relative;
}

.frame-accent::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(191, 146, 71, 0.55);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.frame-accent::after {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 76px;
  height: 76px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: 14px;
  z-index: 1;
}

.badge-float {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 250px;
}

.badge-float .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.badge-float strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

.badge-float span {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.4;
}

/* check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.9rem;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--body);
}

.check-list li strong {
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%238d6a2c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.check-list.on-dark li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list.on-dark li strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */
.process-wrap {
  position: relative;
}

.process-line {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(191, 146, 71, 0.55) 0 8px,
    transparent 8px 18px
  );
  background-size: 18px 1px;
  background-repeat: repeat-x;
}

.process-item {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 0.6rem;
}

.process-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(191, 146, 71, 0.5);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  transition: all 0.35s var(--ease);
}

.process-item:hover .process-dot {
  background: var(--gold);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 26px -16px rgba(191, 146, 71, 0.9);
}

.process-item h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.process-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--gold-2);
  display: block;
  margin-bottom: 0.6rem;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 1.35rem;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.quote-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.3;
}

.quote-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Blog cards
   -------------------------------------------------------------------------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.post-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.post-card:hover .post-media img {
  transform: scale(1.06);
}

.post-body {
  padding: 1.6rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.post-cat {
  color: var(--gold);
  background: rgba(191, 146, 71, 0.12);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
}

.post-card h3 {
  font-size: 1.24rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--gold);
}

.post-card p {
  font-size: 0.92rem;
  line-height: 1.78;
  margin-bottom: 1.2rem;
}

.post-body .link-arrow {
  margin-top: auto;
  font-size: 0.78rem;
}

/* featured post */
.featured-post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.featured-post .post-media {
  position: relative;
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
  background: var(--sand);
}

.featured-post .post-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .featured-post .post-media {
    min-height: 260px;
    height: 260px;
  }
}

.featured-post .post-body {
  padding: clamp(1.8rem, 4vw, 3rem);
  justify-content: center;
}

.featured-post h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin-bottom: 0.9rem;
}

/* article */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4.5vw, 3.4rem);
  box-shadow: var(--shadow-sm);
}

.article-body > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--ink);
}

.article-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin: 2.4rem 0 0.9rem;
}

.article-body h3 {
  font-size: 1.26rem;
  margin: 1.9rem 0 0.7rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.15rem;
  margin-bottom: 1.3rem;
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.78;
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pullquote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.5rem;
  margin: 2.2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.6;
  color: var(--ink);
}

.article-figure {
  margin: 2rem 0;
}

.article-figure img {
  border-radius: var(--radius);
  width: 100%;
}

.article-figure figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--body);
  background: var(--cream);
}

.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* article sidebar */
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.5rem;
}

.side-card h3 {
  font-size: 1.08rem;
  margin-bottom: 1rem;
}

.side-card.on-dark {
  background: var(--ink);
  border-color: var(--ink);
}

.side-card.on-dark h3 {
  color: #fff;
}

.side-card.on-dark p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}

.side-list li:last-child {
  border-bottom: 0;
}

.side-list a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.55;
}

.side-list a:hover {
  color: var(--gold);
}

.post-mini {
  display: flex;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.post-mini:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.post-mini img {
  width: 76px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 76px;
}

.post-mini h4 {
  font-size: 0.92rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 800;
}

.post-mini h4 a {
  color: var(--ink);
}

.post-mini h4 a:hover {
  color: var(--gold);
}

.post-mini span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Page prose (privacy / terms)
   -------------------------------------------------------------------------- */
.prose {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4.5vw, 3.4rem);
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 2.4rem 0 0.85rem;
  padding-top: 0.4rem;
}

.prose h2:first-of-type {
  margin-top: 0.4rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.7rem 0 0.6rem;
}

.prose ul {
  padding-left: 1.15rem;
  margin-bottom: 1.2rem;
}

.prose li {
  margin-bottom: 0.55rem;
  line-height: 1.78;
}

.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.3rem;
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 1.6rem 0;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.toc h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 1rem;
}

.toc ol,
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.toc a {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.42rem 0 0.42rem 0.9rem;
  border-left: 2px solid var(--line);
  color: var(--body);
  line-height: 1.5;
}

.toc a:hover {
  border-left-color: var(--gold);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-md);
}

.form-panel.on-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-light);
}

.form-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-panel.on-dark .form-label {
  color: rgba(255, 255, 255, 0.75);
}

.form-control,
.form-select {
  border: 1px solid rgba(17, 22, 28, 0.16);
  border-radius: 12px;
  padding: 0.82rem 1rem;
  font-size: 0.94rem;
  color: var(--ink);
  background-color: var(--cream);
  font-family: var(--font-body);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.form-control::placeholder {
  color: #9b9ea5;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 0.22rem rgba(191, 146, 71, 0.16);
  color: var(--ink);
}

textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.form-check-input {
  border: 1px solid rgba(17, 22, 28, 0.3);
  border-radius: 5px;
  width: 1.05em;
  height: 1.05em;
  margin-top: 0.3em;
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.form-check-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(191, 146, 71, 0.18);
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.6;
}

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.field-error {
  display: none;
  font-size: 0.76rem;
  font-weight: 700;
  color: #b4472f;
  margin-top: 0.35rem;
}

.is-invalid-soft {
  border-color: #cf6b52 !important;
  background-color: #fdf4f1 !important;
}

.field-error.show {
  display: block;
}

.form-alert {
  display: none;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(64, 128, 92, 0.28);
  background: rgba(64, 128, 92, 0.09);
  color: #2f6b48;
}

.form-alert.show {
  display: block;
  animation: fadeUp 0.4s var(--ease) both;
}

.form-alert.is-error {
  border-color: rgba(180, 71, 47, 0.28);
  background: rgba(180, 71, 47, 0.08);
  color: #a2402b;
}

.form-panel.on-dark .form-control,
.form-panel.on-dark .form-select {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.form-panel.on-dark .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-panel.on-dark .form-label {
  color: rgba(255, 255, 255, 0.72);
}

/* inline newsletter form */
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.newsletter-form .form-control {
  flex: 1 1 220px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 4rem);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/service-interior.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.34;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(11, 15, 20, 0.94) 0%,
    rgba(11, 15, 20, 0.72) 52%,
    rgba(11, 15, 20, 0.38) 100%
  );
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.cta-strip {
  background: var(--ink-2);
  color: #fff;
  padding: clamp(2.6rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(191, 146, 71, 0.28);
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 0.7rem;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   Info tiles (contact / about)
   -------------------------------------------------------------------------- */
.info-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.info-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 146, 71, 0.4);
}

.info-tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.info-tile h3 {
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.info-tile p,
.info-tile a {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 0;
}

.info-tile a:hover {
  color: var(--gold);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  min-height: 380px;
  position: relative;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 2rem;
  background-image: linear-gradient(rgba(231, 220, 201, 0.55), rgba(231, 220, 201, 0.55)),
    repeating-linear-gradient(0deg, rgba(17, 22, 28, 0.06) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(17, 22, 28, 0.06) 0 1px, transparent 1px 46px);
  color: var(--ink);
  z-index: 0;
}

.map-pin {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  box-shadow: 0 14px 26px -14px rgba(191, 146, 71, 0.9);
}

.map-placeholder strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}

.map-placeholder > span {
  font-size: 0.88rem;
  color: var(--body);
}

.map-hint {
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted) !important;
  margin-top: 0.5rem;
}

.map-wrap iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.02);
}

.map-fallback {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Accordion (FAQ)
   -------------------------------------------------------------------------- */
.accordion-modern .accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.accordion-modern .accordion-button {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  padding: 1.15rem 1.35rem;
  box-shadow: none;
}

.accordion-modern .accordion-button:not(.collapsed) {
  color: var(--gold);
  background: #fff;
}

.accordion-modern .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311161c' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.accordion-modern .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf9247' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.accordion-modern .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-modern .accordion-body {
  padding: 0 1.35rem 1.3rem;
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--body);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0c1116;
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(3rem, 6vw, 4.6rem) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(191, 146, 71, 0.14),
    transparent 68%
  );
  pointer-events: none;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer-about {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin: 1.3rem 0 1.5rem;
  max-width: 330px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.62rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-contact svg {
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 0.18rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--gold-2);
}

.social-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.3s var(--ease);
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.48);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a:hover {
  color: var(--gold-2);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-md);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--gold);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-28px);
}

[data-reveal="right"] {
  transform: translateX(28px);
}

[data-reveal="zoom"] {
  transform: scale(0.96);
}

[data-delay="1"] {
  transition-delay: 0.1s;
}

[data-delay="2"] {
  transition-delay: 0.2s;
}

[data-delay="3"] {
  transition-delay: 0.3s;
}

[data-delay="4"] {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Section decorations & misc
   -------------------------------------------------------------------------- */
.pattern-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    var(--line) 0 6px,
    transparent 6px 14px
  );
  background-size: 14px 1px;
}

.divider-quote {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
  opacity: 1;
}

.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.badge-pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(191, 146, 71, 0.12);
  color: #8d6a2c;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-pill-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.skip-link:focus {
  left: 0;
  color: #fff;
}

.message-box {
  background: var(--cream-2);
  border: 1px dashed rgba(191, 146, 71, 0.55);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* responsive tweaks */
@media (max-width: 991.98px) {
  body.inner-page {
    padding-top: var(--header-h);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 4rem;
  }

  .hero-card {
    margin-top: 2.4rem;
  }

  .hero-scroll {
    display: none;
  }

  .process-line {
    display: none;
  }

  .frame-accent::before,
  .frame-accent::after {
    display: none;
  }

  .cta-band {
    text-align: left;
  }

  .toc {
    position: static;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.97rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .brand-text {
    font-size: 0.78rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   Reading progress (blog articles)
   -------------------------------------------------------------------------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 1060;
  pointer-events: none;
}

.form-note a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note a:hover {
  color: var(--gold);
}

.pre-filled,
input.prefilled {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(191, 146, 71, 0.16);
}

.breadcrumb-nav + h1 {
  text-wrap: balance;
}
