/* ==========================================================================
   Home Renew Build — homerenewbuild.com
   Custom design layer on top of Bootstrap 5.3
   Palette: deep forest green + warm amber + cream
   ========================================================================== */

:root {
  --ink: #1d2a27;
  --forest: #1e5c4f;
  --forest-dark: #143f37;
  --forest-deep: #0d2b25;
  --teal-soft: #e7f0ec;
  --amber: #e8a23d;
  --amber-dark: #c9822a;
  --amber-soft: #fbf1dd;
  --cream: #faf6ef;
  --sand: #efe7d9;
  --line: #e4dcc9;
  --muted: #5f6d68;
  --white: #ffffff;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 4px 14px rgba(18, 60, 52, 0.08);
  --shadow-md: 0 12px 30px rgba(18, 60, 52, 0.13);
  --shadow-lg: 0 24px 60px rgba(18, 60, 52, 0.18);
  --radius: 18px;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { text-decoration: none; }
a:hover { text-decoration: none; }

::selection { background: var(--amber); color: var(--forest-deep); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-deep);
  color: #cfe0d9;
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar a { color: #cfe0d9; transition: color 0.2s; }
.topbar a:hover { color: var(--amber); }
.topbar i { color: var(--amber); margin-right: 6px; }

/* ---------- Navbar ---------- */
.main-navbar {
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  padding: 14px 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.main-navbar.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--amber);
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120px 40px at 80% -20%, rgba(232, 162, 61, 0.35), transparent 60%);
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  display: flex; flex-direction: column;
}
.brand-text small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--amber-dark);
  text-transform: uppercase;
}
.main-navbar .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  margin: 0 4px;
  padding: 8px 10px !important;
}
.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amber);
  width: 0;
  transition: width 0.28s ease;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { width: calc(100% - 20px); }
.main-navbar .nav-link.active { color: var(--forest); }
.navbar-toggler { border: 0; box-shadow: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px 20px;
    box-shadow: var(--shadow-md);
  }
  .main-navbar .nav-link { margin: 2px 0; }
}

/* ---------- Buttons ---------- */
.btn-forest, .btn-amber, .btn-outline-forest {
  border-radius: 50rem;
  font-weight: 700;
  padding: 0.72rem 1.55rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-forest { background: var(--forest); color: #fff; border: 2px solid var(--forest); }
.btn-forest:hover, .btn-forest:focus { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: var(--forest-deep); border: 2px solid var(--amber); }
.btn-amber:hover, .btn-amber:focus { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-forest { background: transparent; color: var(--forest); border: 2px solid var(--forest); }
.btn-outline-forest:hover { background: var(--forest); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-cream-outline { background: transparent; color: var(--cream); border: 2px solid rgba(250, 246, 239, 0.55); border-radius: 50rem; font-weight: 700; padding: 0.72rem 1.55rem; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s ease; }
.btn-cream-outline:hover { background: rgba(250, 246, 239, 0.12); border-color: var(--cream); color: var(--cream); }

/* Text-link style used inside cards */
.btn-link-service {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-link-service i { transition: transform 0.25s ease; }
.btn-link-service:hover { color: var(--amber-dark); }
.btn-link-service:hover i { transform: translateX(5px); }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-sand { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.section-white { background: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--amber-dark);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.eyebrow.on-dark { color: var(--amber); }
.eyebrow.on-dark::before { background: var(--amber); }

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  margin-top: 14px;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin: 0 auto; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  color: var(--cream);
  background:
    linear-gradient(100deg, rgba(10, 35, 29, 0.96) 0%, rgba(14, 48, 41, 0.88) 34%, rgba(18, 60, 52, 0.45) 68%, rgba(13, 43, 37, 0.2) 100%),
    url("../assets/images/hero.jpg") center/cover no-repeat;
  padding: 96px 0 170px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 10%, rgba(232, 162, 61, 0.16), transparent 65%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero p.lead { color: #d9e6e0; font-size: 1.12rem; max-width: 560px; }
.hero .eyebrow { color: var(--amber); }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 34px;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8f1ec;
  border-radius: 50rem;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-chip i { color: var(--amber); }

.hero-card {
  position: absolute;
  right: 34px;
  bottom: 52px;
  width: min(340px, 86%);
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hero-card .stars { color: var(--amber); font-size: 0.95rem; letter-spacing: 2px; }
.hero-card .quote-text { font-size: 0.92rem; font-weight: 500; margin: 8px 0 4px; }
.hero-card .quote-who { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

.hero-spin-badge {
  position: absolute;
  right: 60px;
  top: 46px;
  width: 118px; height: 118px;
  z-index: 2;
  display: none;
}
@media (min-width: 992px) { .hero-spin-badge { display: block; } }
.hero-spin-badge svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero-spin-badge .badge-center {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--amber);
  font-size: 1.6rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 74px; display: block; }

/* ---------- Stats strip ---------- */
.stats-strip { margin-top: -78px; position: relative; z-index: 5; }
.stats-card {
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 30px 22px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.stat-num small { font-size: 1.1rem; color: var(--amber-dark); }
.stat-label { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 6px; }

/* ---------- 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.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-soft);
}
.svc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.service-card:hover .svc-img img { transform: scale(1.07); }
.icon-badge {
  position: absolute;
  left: 18px;
  bottom: -24px;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.service-card .card-body { padding-top: 34px; }
.service-title { font-size: 1.12rem; }
.service-title a { color: var(--ink); transition: color 0.2s; }
.service-title a:hover { color: var(--forest); }
.service-desc { font-size: 0.9rem; }

/* Large service cards (services page) */
.svc-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-detail-card .svc-img { aspect-ratio: 16 / 9; }
.svc-detail-card .icon-badge { left: 22px; bottom: -26px; width: 56px; height: 56px; font-size: 1.45rem; }
.svc-detail-card .card-body { padding: 38px 26px 26px; }
.svc-list { padding-left: 1.15rem; margin: 14px 0 18px; color: var(--muted); font-size: 0.92rem; }
.svc-list li { margin-bottom: 6px; }
.svc-list li::marker { color: var(--amber); }

/* ---------- Feature / why choose us ---------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--teal-soft);
  color: var(--forest);
  display: grid; place-items: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.08rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }

/* ---------- Process steps ---------- */
.process-step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 2px dashed var(--amber);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.process-step:hover .step-num { background: var(--amber); color: #fff; transform: scale(1.08); }
.process-step h3 { font-size: 1.05rem; }
.process-step p { font-size: 0.9rem; color: var(--muted); }
@media (min-width: 768px) {
  .process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 33px;
    left: calc(50% + 46px);
    width: calc(100% - 92px);
    border-top: 2px dashed var(--amber);
    opacity: 0.65;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(232, 162, 61, 0.12), transparent 60%),
    var(--forest-deep);
  color: #dcebe4;
  position: relative;
  overflow: hidden;
}
.testimonials h2 { color: var(--cream); }
.testimonials .lead { color: #b9d2c8; }
.testi-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 12px 56px;
}
.testi-card .big-quote {
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 0.5;
  color: var(--amber);
  display: block;
  margin-bottom: 18px;
}
.testi-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: #eef6f2;
  font-style: italic;
}
.testi-who { font-weight: 700; color: var(--cream); margin-top: 18px; }
.testi-role { font-size: 0.85rem; color: #9dbbb0; }
.testi-stars { color: var(--amber); letter-spacing: 3px; margin-top: 8px; }
.carousel-indicators [data-bs-target] {
  width: 9px; height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: 0;
  margin: 0 5px;
  transition: all 0.25s;
}
.carousel-indicators .active { background-color: var(--amber); width: 26px; border-radius: 6px; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.blog-card .post-img { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; background: var(--teal-soft); }
.blog-card .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.blog-card:hover .post-img img { transform: scale(1.06); }
.badge-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--amber);
  color: var(--forest-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50rem;
  padding: 6px 13px;
  box-shadow: var(--shadow-sm);
}
.blog-card .card-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.post-meta { font-size: 0.78rem; color: var(--muted); font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.post-meta i { color: var(--amber-dark); margin-right: 4px; }
.blog-title { font-size: 1.18rem; line-height: 1.3; margin: 10px 0 8px; }
.blog-title a { color: var(--ink); transition: color 0.2s; }
.blog-title a:hover { color: var(--forest); }
.blog-excerpt { font-size: 0.9rem; color: var(--muted); }
.read-more { font-weight: 700; font-size: 0.9rem; color: var(--forest); display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; }
.read-more i { transition: transform 0.25s; }
.read-more:hover { color: var(--amber-dark); }
.read-more:hover i { transform: translateX(5px); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 260px at 15% 0%, rgba(250, 246, 239, 0.1), transparent 60%),
    linear-gradient(120deg, var(--forest-dark) 0%, var(--forest) 60%, #26705f 100%);
  color: var(--cream);
  border-radius: calc(var(--radius) + 8px);
  padding: 54px 44px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: #c8dbd3; max-width: 560px; }
.cta-band .cta-pattern {
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(232, 162, 61, 0.4);
}
.cta-band .cta-pattern::after {
  content: "";
  position: absolute; inset: 34px;
  border-radius: 50%;
  border: 2px dashed rgba(232, 162, 61, 0.3);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 320px at 88% -60%, rgba(232, 162, 61, 0.22), transparent 62%),
    radial-gradient(700px 300px at 6% 130%, rgba(30, 92, 79, 0.10), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 82px 0 58px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -110px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 162, 61, 0.14), transparent 65%);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero .lead { color: var(--muted); max-width: 700px; }
.page-hero .breadcrumb {
  --bs-breadcrumb-divider: "›";
  --bs-breadcrumb-item-active-color: var(--amber-dark);
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 600;
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--forest); }

/* ---------- Split image block (about) ---------- */
.split-img {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-img::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(232, 162, 61, 0.55);
  border-radius: calc(var(--radius) + 2px);
  z-index: 2;
  pointer-events: none;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }
.exp-badge {
  position: absolute;
  left: 26px; bottom: 26px;
  z-index: 3;
  background: rgba(13, 43, 37, 0.92);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 16px 20px;
  backdrop-filter: blur(6px);
}
.exp-badge strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--amber); display: block; line-height: 1; }
.exp-badge span { font-size: 0.78rem; font-weight: 600; }

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .value-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-dark);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

/* Timeline */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), var(--forest));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--amber);
}
.tl-year { font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: 1.15rem; }
.tl-item p { color: var(--muted); font-size: 0.93rem; margin: 4px 0 0; }

/* ---------- Blog article ---------- */
.article-shell { background: #fff; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; }
.article-hero-img { aspect-ratio: 21 / 9; overflow: hidden; background: var(--teal-soft); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { font-size: 1.02rem; line-height: 1.85; color: #33413d; }
.article-body h2 { font-size: 1.55rem; margin: 40px 0 14px; scroll-margin-top: 110px; }
.article-body h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { color: #33413d; padding-left: 1.3rem; margin-bottom: 18px; }
.article-body li { margin-bottom: 7px; }
.article-body li::marker { color: var(--amber); font-weight: 700; }
.article-body a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232, 162, 61, 0.6); text-underline-offset: 3px; }
.article-body a:hover { color: var(--amber-dark); }
.callout-box {
  background: var(--amber-soft);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 26px 0;
  font-size: 0.97rem;
}
.callout-box strong { color: var(--forest); }
.author-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tag-pill {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  transition: all 0.2s;
}
.tag-pill:hover { background: var(--forest); color: #fff; }

/* ---------- Contact ---------- */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  height: 100%;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0; }
.info-card a { color: var(--forest); font-weight: 600; }
.info-card a:hover { color: var(--amber-dark); }

.map-card {
  background:
    radial-gradient(400px 200px at 80% 10%, rgba(232, 162, 61, 0.25), transparent 60%),
    linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-dark) 100%);
  border-radius: calc(var(--radius) + 6px);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 54px 40px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-card::before, .map-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(250, 246, 239, 0.14);
}
.map-card::before { width: 340px; height: 340px; right: -120px; top: -140px; }
.map-card::after { width: 220px; height: 220px; left: -80px; bottom: -100px; }
.map-pin {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--forest-deep);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 12px rgba(232, 162, 61, 0.22);
  animation: pin-bounce 2.6s ease-in-out infinite;
}
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.map-card h3 { color: var(--cream); font-size: 1.4rem; }
.map-card p { color: #c8dbd3; }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.form-label-custom { font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
  background-color: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.25rem rgba(232, 162, 61, 0.18);
  background-color: #fff;
  color: var(--ink);
}
.status-note { margin-top: 16px; font-size: 0.92rem; font-weight: 600; border-radius: 12px; padding: 14px 16px; }
.status-ok { background: #e8f5ee; color: #1c6b46; border: 1px solid #bfe3d0; }
.status-warn { background: #fdf0e4; color: #9a5b16; border: 1px solid #f3d6b2; }

.subs-table { font-size: 0.9rem; }
.subs-table thead th {
  background: var(--teal-soft);
  color: var(--forest);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 0;
}
.subs-table td { border-color: var(--line); vertical-align: middle; }

/* FAQ */
.accordion-item { border: 1px solid var(--line) !important; border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.accordion-button { font-weight: 700; font-size: 0.98rem; color: var(--ink); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--teal-soft); color: var(--forest); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(232, 162, 61, 0.15); }
.accordion-body { color: var(--muted); font-size: 0.94rem; }

/* ---------- Legal pages ---------- */
.legal-shell { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-sm); padding: 44px 40px; }
.legal-shell h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal-shell h2:first-child { margin-top: 0; }
.legal-shell p, .legal-shell li { color: var(--muted); font-size: 0.97rem; line-height: 1.8; }
.legal-shell ul { padding-left: 1.3rem; }
.legal-shell li { margin-bottom: 6px; }
.legal-shell li::marker { color: var(--amber); }
.updated-note { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #b9d2c8; margin-top: 0; }
.site-footer .footer-brand { color: var(--cream); }
.site-footer h4 {
  color: var(--cream);
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--amber);
}
.site-footer a { color: #b9d2c8; transition: color 0.2s, padding-left 0.2s; }
.site-footer a:hover { color: var(--amber); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; font-size: 0.93rem; }
.footer-links i { color: var(--amber); margin-right: 9px; font-size: 0.8rem; }
.footer-contact li { margin-bottom: 13px; font-size: 0.92rem; display: flex; gap: 11px; }
.footer-contact i { color: var(--amber); margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  display: grid; place-items: center;
  color: #dcebe4;
  font-size: 1rem;
  transition: all 0.25s;
}
.social-row a:hover { background: var(--amber); color: var(--forest-deep); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.83rem;
  color: #8fb0a5;
}
.footer-bottom a { color: #8fb0a5; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- Toasts ---------- */
.toast { border: 0; border-radius: 14px; box-shadow: var(--shadow-md); }
.toast-container { z-index: 1090; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--forest-deep);
  border: 0;
  display: grid; place-items: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1080;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--amber-dark); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-spin-badge svg, .map-pin { animation: none; }
}

/* ---------- Image fallback (for images still being generated) ---------- */
.img-fallback { position: relative; background: linear-gradient(135deg, var(--teal-soft) 0%, var(--sand) 100%); }
.img-fallback::after {
  content: "\F52F";
  font-family: "bootstrap-icons";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: rgba(30, 92, 79, 0.22);
}
.img-fallback img { position: relative; z-index: 1; }
.img-fallback img.img-missing { display: none; }

/* ---------- 404 ---------- */
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

/* ---------- Misc ---------- */
.text-forest { color: var(--forest) !important; }
.text-amber { color: var(--amber) !important; }
.text-muted-2 { color: var(--muted) !important; }
.bg-cream { background-color: var(--cream) !important; }
.divider-dot { color: var(--amber); margin: 0 6px; }
