/* =========================================================
   Credit Saving Hub — Main Stylesheet
   Palette: Deep Emerald Teal + Warm Gold on Ivory
   ========================================================= */

:root {
  --csb-primary: #0e7c66;
  --csb-primary-dark: #0a5c4b;
  --csb-primary-deep: #073b31;
  --csb-dark: #0b2e28;
  --csb-accent: #f5a623;
  --csb-accent-dark: #d98a06;
  --csb-ivory: #f7f6f1;
  --csb-cream: #fdfcf8;
  --csb-text: #24352f;
  --csb-muted: #5e6f68;
  --csb-line: #e4e9e6;
  --csb-white: #ffffff;
  --csb-shadow: 0 18px 40px rgba(11, 46, 40, 0.10);
  --csb-shadow-sm: 0 8px 22px rgba(11, 46, 40, 0.08);
  --csb-radius: 18px;
  --csb-font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --csb-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--csb-font);
  color: var(--csb-text);
  background: var(--csb-cream);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--csb-display);
  color: var(--csb-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--csb-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--csb-accent-dark);
}

img {
  max-width: 100%;
}

::selection {
  background: var(--csb-accent);
  color: var(--csb-dark);
}

.section {
  padding: 92px 0;
  position: relative;
}

.section-alt {
  background: var(--csb-ivory);
}

.section-white {
  background: var(--csb-white);
}

.section-dark {
  background: linear-gradient(135deg, var(--csb-primary-deep) 0%, var(--csb-dark) 60%, #0d3f36 100%);
  color: #e7f2ee;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--csb-font);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 28px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-accent {
  background: var(--csb-accent);
  border: 2px solid var(--csb-accent);
  color: #2c1c02;
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.32);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--csb-accent-dark);
  border-color: var(--csb-accent-dark);
  color: #2c1c02;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(245, 166, 35, 0.4);
}

.btn-csb {
  background: var(--csb-primary);
  border: 2px solid var(--csb-primary);
  color: #fff;
}

.btn-csb:hover,
.btn-csb:focus {
  background: var(--csb-primary-dark);
  border-color: var(--csb-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-csb {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
}

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

.btn-lg-csb {
  padding: 14px 34px;
  font-size: 1.02rem;
}

/* ---------- Navbar ---------- */
.csb-nav {
  background: rgba(11, 46, 40, 0.96);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  z-index: 1030;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.csb-nav.scrolled {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--csb-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff !important;
  line-height: 1.1;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--csb-accent), #ffc76b);
  color: var(--csb-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--csb-font);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.35);
  flex-shrink: 0;
}

.brand-text .b-sub {
  display: block;
  font-family: var(--csb-font);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--csb-accent);
}

.csb-nav .nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 8px 16px !important;
  position: relative;
}

.csb-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2.5px;
  background: var(--csb-accent);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.csb-nav .nav-link:hover,
.csb-nav .nav-link.active {
  color: #fff;
}

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

.csb-nav .navbar-toggler {
  border: 1.5px solid rgba(245, 166, 35, 0.6);
  padding: 6px 10px;
}

.csb-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.35);
}

.csb-nav .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='rgba(245, 166, 35, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .csb-nav .navbar-collapse {
    background: var(--csb-dark);
    margin-top: 12px;
    border-radius: 14px;
    padding: 14px 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .csb-nav .nav-link {
    padding: 10px 6px !important;
  }

  .csb-nav .nav-link::after {
    left: 6px;
    right: auto;
    width: 26px;
  }

  .csb-nav .nav-item .btn {
    width: 100%;
    margin-top: 8px;
  }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background:
    linear-gradient(100deg, rgba(7, 59, 49, 0.94) 0%, rgba(7, 59, 49, 0.82) 42%, rgba(7, 59, 49, 0.35) 75%, rgba(7, 59, 49, 0.25) 100%),
    url("../images/hero-main.jpg") center right / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 46px solid rgba(245, 166, 35, 0.16);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 166, 35, 0.16);
  border: 1px solid rgba(245, 166, 35, 0.55);
  color: #ffd894;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--csb-accent);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.28);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  margin-bottom: 20px;
}

.hero h1 .gold {
  color: var(--csb-accent);
  font-style: italic;
}

.hero p.lead-text {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.hero-points .hp {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-points .hp svg {
  flex-shrink: 0;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 90px;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 166, 35, 0.18), transparent 40%),
    linear-gradient(130deg, var(--csb-primary-deep) 0%, var(--csb-dark) 55%, #12594a 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.1);
  border: 34px solid rgba(255, 255, 255, 0.05);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.3rem);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  position: relative;
}

.breadcrumb-soft {
  margin-top: 26px;
  position: relative;
}

.breadcrumb-soft a {
  color: var(--csb-accent);
  font-weight: 600;
}

.breadcrumb-soft span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Section Headings ---------- */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.sec-head.text-start {
  text-align: left;
  margin-left: 0;
}

.sec-eyebrow {
  display: inline-block;
  color: var(--csb-primary);
  background: rgba(14, 124, 102, 0.1);
  border: 1px solid rgba(14, 124, 102, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-dark .sec-eyebrow {
  color: var(--csb-accent);
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.4);
}

.sec-title {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  margin-bottom: 14px;
}

.sec-title .accent {
  color: var(--csb-primary);
  font-style: italic;
}

.section-dark .sec-title .accent {
  color: var(--csb-accent);
}

.sec-sub {
  color: var(--csb-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section-dark .sec-sub {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- About Preview / Story ---------- */
.story-img-wrap {
  position: relative;
}

.story-img-wrap .story-img {
  border-radius: var(--csb-radius);
  box-shadow: var(--csb-shadow);
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  width: 100%;
}

.story-exp-badge {
  position: absolute;
  right: -14px;
  bottom: 34px;
  background: var(--csb-accent);
  color: var(--csb-dark);
  border-radius: 16px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: var(--csb-shadow);
  font-weight: 800;
  line-height: 1.2;
}

.story-exp-badge .num {
  display: block;
  font-family: var(--csb-display);
  font-size: 2rem;
}

.story-exp-badge .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 13px;
  font-weight: 600;
  color: var(--csb-text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--csb-primary) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='M4 8.2l2.6 2.6L12 5'/%3e%3c/svg%3e") center / 13px no-repeat;
}

/* ---------- Stats ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--csb-primary-dark), var(--csb-primary));
  color: #fff;
  padding: 54px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3e%3cpath d='M30 5 L55 30 L30 55 L5 30 Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='2'/%3e%3c/svg%3e");
  opacity: 0.7;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 10px 8px;
}

.stat-item .stat-num {
  font-family: var(--csb-display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--csb-accent);
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 6px;
}

.stat-divider {
  border-left: 1.5px dashed rgba(255, 255, 255, 0.3);
}

@media (max-width: 767.98px) {
  .stat-divider {
    border-left: none;
  }
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--csb-shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--csb-shadow);
  border-color: rgba(14, 124, 102, 0.35);
}

.service-media {
  position: relative;
  overflow: hidden;
  height: 215px;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 59, 49, 0.55) 100%);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--csb-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 50px;
}

.service-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(14, 124, 102, 0.12), rgba(245, 166, 35, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -52px 0 16px;
  position: relative;
  z-index: 3;
  border: 4px solid #fff;
  box-shadow: var(--csb-shadow-sm);
  flex-shrink: 0;
}

.service-title {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.service-text {
  color: var(--csb-muted);
  font-size: 0.97rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-body .btn {
  align-self: flex-start;
  padding: 10px 24px;
  font-size: 0.93rem;
}

/* ---------- Feature / Why Choose Cards ---------- */
.feature-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--csb-shadow-sm);
}

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

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--csb-primary), var(--csb-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 12px 26px rgba(14, 124, 102, 0.3);
}

.feature-icon.gold {
  background: linear-gradient(135deg, var(--csb-accent), var(--csb-accent-dark));
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.35);
}

.feature-card h4 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--csb-muted);
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* ---------- Steps (How It Works) ---------- */
.step-card {
  text-align: center;
  padding: 36px 26px;
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-num {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--csb-dark);
  color: var(--csb-accent);
  font-family: var(--csb-display);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(11, 46, 40, 0.3);
  position: relative;
}

.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--csb-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  padding: 32px 28px 26px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--csb-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  right: 20px;
  font-family: var(--csb-display);
  font-size: 6.5rem;
  line-height: 1;
  color: rgba(14, 124, 102, 0.09);
  pointer-events: none;
}

.testimonial-card .quote {
  font-size: 1.02rem;
  color: var(--csb-text);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card .stars {
  color: var(--csb-accent);
  letter-spacing: 3px;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-card .t-name {
  font-family: var(--csb-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--csb-primary-dark);
  border-top: 1px dashed var(--csb-line);
  padding-top: 16px;
}

.testimonial-card .t-name::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  background: var(--csb-accent);
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 10px;
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--csb-shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--csb-shadow);
}

.blog-media {
  height: 225px;
  overflow: hidden;
  position: relative;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-cat {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--csb-accent);
  color: var(--csb-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-title {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--csb-dark);
}

.blog-title a:hover {
  color: var(--csb-primary);
}

.blog-excerpt {
  color: var(--csb-muted);
  font-size: 0.97rem;
  flex: 1;
  margin-bottom: 18px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.93rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--csb-primary);
}

.read-more svg {
  transition: transform 0.3s ease;
}

.read-more:hover svg {
  transform: translateX(5px);
}

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(120deg, rgba(7, 59, 49, 0.94), rgba(10, 92, 75, 0.9)),
    url("../images/hero-main.jpg") center / cover no-repeat;
  padding: 74px 0;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.14);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 12px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ---------- Forms ---------- */
.form-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--csb-dark);
  margin-bottom: 7px;
}

.form-control,
.form-select {
  border: 1.6px solid var(--csb-line);
  border-radius: 12px;
  padding: 13px 17px;
  font-size: 0.99rem;
  color: var(--csb-text);
  background-color: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--csb-primary);
  box-shadow: 0 0 0 0.2rem rgba(14, 124, 102, 0.16);
}

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

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(14, 124, 102, 0.2);
}

.form-note {
  font-size: 0.85rem;
  color: var(--csb-muted);
}

.invalid-feedback {
  font-size: 0.84rem;
  font-weight: 600;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.form-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: var(--csb-shadow);
}

.form-card h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.form-card .sub {
  color: var(--csb-muted);
  margin-bottom: 26px;
}

.alert-success-csb {
  background: rgba(14, 124, 102, 0.1);
  border: 1.5px solid rgba(14, 124, 102, 0.4);
  color: var(--csb-primary-dark);
  border-radius: 13px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  display: none;
}

.alert-danger-csb {
  background: rgba(220, 53, 69, 0.08);
  border: 1.5px solid rgba(220, 53, 69, 0.4);
  color: #a32230;
  border-radius: 13px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  display: none;
}

.show {
  display: block !important;
}

/* ---------- Contact Info Cards ---------- */
.info-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  padding: 30px 26px;
  text-align: center;
  height: 100%;
  box-shadow: var(--csb-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: inherit;
}

a.info-card:hover {
  color: inherit;
  transform: translateY(-7px);
  box-shadow: var(--csb-shadow);
}

.info-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--csb-primary), var(--csb-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(14, 124, 102, 0.3);
}

.info-card h5 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--csb-muted);
  margin-bottom: 0;
  font-size: 0.98rem;
  word-break: break-word;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--csb-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 44px solid rgba(245, 166, 35, 0.07);
}

.footer h5 {
  color: #fff;
  font-family: var(--csb-display);
  font-size: 1.18rem;
  margin-bottom: 22px;
  position: relative;
}

.footer h5::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--csb-accent);
  border-radius: 3px;
  margin-top: 9px;
}

.footer p {
  font-size: 0.96rem;
  line-height: 1.8;
}

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

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.25s ease;
}

.footer-links a::before {
  content: "›";
  color: var(--csb-accent);
  font-weight: 800;
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--csb-accent);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  gap: 13px;
  margin-bottom: 15px;
  font-size: 0.96rem;
  align-items: flex-start;
}

.footer-contact .fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--csb-accent);
}

.social-row {
  display: flex;
  gap: 11px;
  margin-top: 22px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-row a:hover {
  background: var(--csb-accent);
  border-color: var(--csb-accent);
  color: var(--csb-dark);
  transform: translateY(-4px);
}

.footer-news {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-news .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px;
  padding: 11px 18px;
  font-size: 0.93rem;
}

.footer-news .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-news .form-control:focus {
  border-color: var(--csb-accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.footer-news .btn {
  padding: 11px 22px;
  border-radius: 50px;
  white-space: nowrap;
}

.footer-msg {
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 10px;
  min-height: 1.2em;
}

.footer-msg.ok { color: #7ee2b8; }
.footer-msg.err { color: #ff9aa5; }

.footer-bottom {
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-start;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--csb-accent);
}

@media (max-width: 767.98px) {
  .footer-bottom {
    text-align: center;
  }

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

/* ---------- Page Content (legal pages, blog post) ---------- */
.content-panel {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: 22px;
  padding: 46px 46px 40px;
  box-shadow: var(--csb-shadow-sm);
}

.content-panel h2 {
  font-size: 1.6rem;
  margin-top: 34px;
  margin-bottom: 14px;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel h3 {
  font-size: 1.25rem;
  margin-top: 26px;
  margin-bottom: 10px;
}

.content-panel p,
.content-panel li {
  color: var(--csb-muted);
}

.content-panel ul,
.content-panel ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.content-panel li {
  margin-bottom: 8px;
}

.content-panel .updated-note {
  background: var(--csb-ivory);
  border-left: 4px solid var(--csb-accent);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--csb-text);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* ---------- Blog Post ---------- */
.post-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--csb-shadow);
}

.post-content p {
  font-size: 1.06rem;
  color: #3d4f49;
  margin-bottom: 22px;
  line-height: 1.9;
}

.post-content h2 {
  font-size: 1.75rem;
  margin: 38px 0 16px;
}

.post-content h3 {
  font-size: 1.3rem;
  margin: 30px 0 12px;
}

.post-content blockquote {
  background: var(--csb-ivory);
  border-left: 5px solid var(--csb-accent);
  border-radius: 0 16px 16px 0;
  padding: 22px 28px;
  font-family: var(--csb-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--csb-primary-dark);
  margin: 30px 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1.5px dashed var(--csb-line);
}

.post-nav a {
  font-weight: 700;
  color: var(--csb-primary);
  max-width: 48%;
}

.post-nav a:hover {
  color: var(--csb-accent-dark);
}

/* ---------- About / Values ---------- */
.value-card {
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: var(--csb-radius);
  padding: 30px 26px;
  height: 100%;
  text-align: center;
  box-shadow: var(--csb-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-card .v-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.15);
  border: 2px solid rgba(245, 166, 35, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--csb-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.mission-card {
  background: linear-gradient(135deg, var(--csb-primary-dark), var(--csb-primary));
  color: #fff;
  border: none;
}

.mission-card h4,
.mission-card .v-icon-text {
  color: #fff;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.88);
}

.mission-card .v-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- Subscribe page ---------- */
.perk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--csb-white);
  border: 1px solid var(--csb-line);
  border-radius: 16px;
  padding: 22px 22px;
  height: 100%;
  box-shadow: var(--csb-shadow-sm);
}

.perk-item .p-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--csb-primary), var(--csb-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-item h5 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-family: var(--csb-display);
}

.perk-item p {
  font-size: 0.94rem;
  color: var(--csb-muted);
  margin-bottom: 0;
}

.topic-box {
  background: var(--csb-ivory);
  border: 1.5px dashed var(--csb-line);
  border-radius: 14px;
  padding: 18px 20px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--csb-accent);
  color: var(--csb-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  z-index: 998;
}

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

.back-to-top:hover {
  background: var(--csb-accent-dark);
  transform: translateY(-4px);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- Misc ---------- */
.icon-svg {
  display: block;
}

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

.map-embed {
  border: 0;
  border-radius: 22px;
  width: 100%;
  min-height: 320px;
  box-shadow: var(--csb-shadow-sm);
  background: var(--csb-ivory);
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--csb-line);
  font-weight: 600;
  font-size: 0.97rem;
}

.hours-list li span:last-child {
  color: var(--csb-primary);
}

.hours-list li:last-child {
  border-bottom: none;
}

@media (max-width: 767.98px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 70px;
    background-position: 62% center;
  }

  .page-hero {
    padding: 140px 0 70px;
  }

  .form-card,
  .content-panel {
    padding: 30px 22px;
  }

  .story-exp-badge {
    right: 10px;
    bottom: 16px;
    padding: 14px 18px;
  }

  .post-nav a {
    max-width: 100%;
  }
}
