.page-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  transform: scale(1.04);
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.11); }
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(55,10,5,.85) 0%,
    rgba(120,50,10,.58) 50%,
    rgba(0,0,0,.35) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  animation: fadeUp .85s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber-light, #c9963a);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-hero-eyebrow::before,
.page-hero-eyebrow::after {
  content: '';
  width: 44px;
  height: 1.5px;
  background: var(--amber, #b07d28);
  display: block;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 3px 28px rgba(0,0,0,.45);
}
.page-hero-title span { color: var(--amber-light, #c9963a); }
.page-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.72;
}

.bf-hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.bf-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 30px;
  letter-spacing: 0.2px;
}
.bf-hero-pill i { color: var(--amber-light, #c9963a); font-size: 12px; }

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

.bf-intro-strip {
  background: #fff;
  border-bottom: 1px solid #ede4d5;
}
.bf-intro-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 72px 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.bf-img-stack {
  position: relative;
  height: 420px;
}
.bf-img-main {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
}
.bf-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.bf-img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(55,10,5,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,150,42,.3);
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.bf-img-badge i {
  font-size: 22px;
  color: var(--amber-light, #c9963a);
  flex-shrink: 0;
}
.bf-img-secondary {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 170px;
  height: 170px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  border: 4px solid #fff;
}
.bf-img-secondary img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bf-intro-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson, #6b0f1e);
}
.bf-intro-eyebrow i { color: var(--amber, #b07d28); }
.bf-intro-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  color: #1a2e1a;
  line-height: 1.2;
  margin-bottom: 20px;
}
.bf-intro-title span { color: var(--crimson, #6b0f1e); }
.bf-intro-desc {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.85;
  margin-bottom: 16px;
}
.bf-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 24px 0 28px;
}
.bf-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.bf-check-item i { color: var(--crimson, #6b0f1e); font-size: 12px; flex-shrink: 0; }
.bf-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--crimson, #6b0f1e), #9a1a2e);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(107,15,30,.3);
}
.bf-intro-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(107,15,30,.4); }

.bf-tips-strip {
  background: var(--beige-light, #f4ede2);
  border-top: 1px solid #ede4d5;
  border-bottom: 1px solid #ede4d5;
  padding: 64px 0;
}
.bf-tips-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}
.bf-tips-heading {
  text-align: center;
  margin-bottom: 44px;
}
.bf-section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--crimson, #6b0f1e);
}
.bf-section-eyebrow i { color: var(--amber, #b07d28); margin-right: 6px; }
.bf-tips-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #1a2e1a;
}
.bf-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.bf-tip-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  border: 1px solid rgba(176,125,40,.12);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s;
}
.bf-tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(107,15,30,.1);
}
.bf-tip-num {
  font-size: 36px;
  font-weight: 900;
  color: rgba(107,15,30,.15);
  line-height: 1;
  margin-bottom: 14px;
  font-family: var(--font-display);
  letter-spacing: -1px;
}
.bf-tip-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #1a2e1a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.bf-tip-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.bf-filter-bar {
  background: #fff;
  border-bottom: 2px solid #ede4d5;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
}
.bf-filter-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bf-filter-inner::-webkit-scrollbar { display: none; }
.bf-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  padding: 16px 14px 16px 0;
  margin-right: 4px;
  border-right: 1px solid #e4d4c0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.bf-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  padding: 15px 16px;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.bf-filter-btn i { font-size: 11px; }
.bf-filter-btn:hover { color: var(--crimson, #6b0f1e); }
.bf-filter-btn.active {
  color: var(--crimson, #6b0f1e);
  border-bottom-color: var(--crimson, #6b0f1e);
}

.so-page-wrap {
  background: #f6f1eb;
  min-height: 50vh;
  padding: 48px 0 80px;
}
.so-page-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 48px;
}

.so-bottom-cta {
  margin-top: 28px;
  background: linear-gradient(135deg, #1a0a04 0%, #2e1105 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.bf-bottom-cta {
  background: linear-gradient(135deg, #1a0d02 0%, #2c1508 55%, #1a0a04 100%);
}
.bf-cta-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 92% 55%, rgba(201,150,42,.16) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 5% 50%, rgba(107,15,30,.25) 0%, transparent 70%);
}
.bf-cta-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201,150,42,.15);
  border: 1px solid rgba(201,150,42,.28);
  color: var(--amber-light, #c9963a);
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 20px;
}
.so-bottom-cta-inner {
  position: relative; z-index: 1;
  padding: 64px 72px; text-align: center;
}
.so-bottom-cta-inner h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800; color: #fff; margin-bottom: 14px;
}
.so-bottom-cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,.62);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.75;
}
.so-bottom-cta-btns {
  display: flex; align-items: center;
  justify-content: center; gap: 14px; flex-wrap: wrap;
}
.so-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #c9261a, #e85d04);
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 15px 30px; border-radius: 12px;
  text-decoration: none; transition: all .25s;
  box-shadow: 0 6px 22px rgba(200,38,26,.35);
}
.so-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(200,38,26,.48); }
.so-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 15px 30px; border-radius: 12px;
  text-decoration: none; transition: all .25s;
}
.so-cta-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }

@media(max-width: 1100px) {
  .bf-tips-grid { grid-template-columns: 1fr 1fr; }
  .bf-intro-inner { grid-template-columns: 1fr; gap: 44px; }
  .bf-img-stack { height: 360px; }
  .bf-planner-block { grid-template-columns: 1fr; text-align: center; }
  .bf-planner-form { justify-content: center; }
  .bf-planner-icon { margin: 0 auto; }
}
@media(max-width: 900px) {
  .page-hero { height: 420px; }
  .so-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .so-page-inner, .bf-intro-inner, .bf-tips-inner { padding-left: 24px; padding-right: 24px; }
  .bf-filter-inner, .bf-value-inner { padding-left: 24px; padding-right: 24px; }
  .bf-planner-block { padding: 32px 28px; }
  .so-bottom-cta-inner { padding: 44px 32px; }
  .bf-value-sep { display: none; }
}
@media(max-width: 640px) {
  .page-hero { height: 380px; }
  .page-hero-subtitle { font-size: 15px; }
  .bf-hero-pills { gap: 8px; }
  .bf-hero-pill { font-size: 11.5px; padding: 8px 14px; }
  .so-card-img { height: 195px; }
  .so-grid { grid-template-columns: 1fr; }
  .bf-tips-grid { grid-template-columns: 1fr; }
  .bf-checklist { grid-template-columns: 1fr; }
  .so-page-inner { padding: 0 16px; }
  .bf-intro-inner { padding: 36px 18px; }
  .bf-tips-inner { padding: 0 18px; }
  .bf-filter-inner { padding: 0 16px; }
  .breadcrumb-inner { padding: 0 18px; }
  .bf-img-stack { height: 280px; }
  .bf-img-secondary { width: 120px; height: 120px; right: -10px; bottom: -10px; }
  .bf-value-inner { padding: 0 18px; }
  .bf-value-item { padding: 18px 12px; min-width: 140px; }
  .bf-planner-fields { flex-direction: column; width: 100%; }
  .bf-planner-select { min-width: unset; width: 100%; }
  .bf-planner-btn { width: 100%; justify-content: center; }
}
