@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

.image-box{
  height:350px;
}
@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

h1,h2,h3{
  color: #523857;
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.visually-hidden-important {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Для заданного вами формата чекбокса */
.form-group.checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  }
.form-group.checkbox-group input[type="checkbox"] {
  margin-top: .3rem;
}


/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* Hero base */
.hero {
  min-height: clamp(520px, 50vh, 820px);
  display: flex;
  align-items: center;
  background: var(--bs-primary);
  /* Fallback in case overlay gradient is removed */
}

/* Overlay: adds depth/contrast without changing Bootstrap color tokens */
.hero-overlay {
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(255,255,255,0.15), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.25));
  mix-blend-mode: multiply;
}

/* Spacing utilities tuned for the hero */
@media (min-width: 1200px) {
  .py-xl-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* Badge styling for the line above the headline */
.hero-badge {
  letter-spacing: .02em;
  padding: .5rem .9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Headline and paragraph rhythm */
#hero h1 {
  line-height: 1.15;
}

#hero .lead {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons: subtle elevation and focus */
#hero .btn {
  border-width: 2px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transition: transform .08s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

#hero .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

/* Outline light button contrast adjustments on primary background */
#hero .btn-outline-light {
  --bs-btn-hover-color: var(--bs-dark);
  --bs-btn-hover-bg: var(--bs-white);
  --bs-btn-hover-border-color: var(--bs-white);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

/* High-contrast mode tweaks */
@media (prefers-contrast: more) {
  .hero-overlay { display: none; }
  #hero .btn { box-shadow: none; }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  #hero .btn { transition: none; }
  .scroll-hint .chevron { animation: none; }
}

/* Section spacing helper for larger screens */
@media (min-width: 1200px) {
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
}

/* What We Do — FinanceEveryday */

.fe-whatwedo {
  position: relative;
  overflow: clip;
}

/* Decorative accent */
.fe-whatwedo::before {
  content: "";
  position: absolute;
  inset: -8rem auto auto -8rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    color-mix(in oklab, var(--bs-primary), #fff 75%) 0%,
    transparent 60%
  );
  opacity: 0.25;
  pointer-events: none;
}

.fe-note {
  background-color: var(--bs-white);
  box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.05); /* uses bs-dark */
}

/* Feature cards */
.feature-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.04);
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.08);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}

/* Small numeric badge on cards */
.feature-badge {
  display: inline-block;
  padding: .375rem .625rem;
  line-height: 1;
  letter-spacing: .02em;
}

/* Typography tweaks for better rhythm */
@media (min-width: 992px) {
  #what-we-do h2 {
    letter-spacing: -0.02em;
  }
}

/* High-contrast mode & reduced motion */
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }
}

@media (forced-colors: active) {
  .feature-card { border: 1px solid CanvasText; }
  .feature-badge { border: 1px solid CanvasText; }
}

/* Why Choose FinanceEveryday — section */

.fe-why {
  position: relative;
  overflow: clip;
}

/* Soft decorative gradient spot */
.fe-why::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 60% 40%,
    color-mix(in oklab, var(--bs-primary), #ffffff 78%) 0%,
    transparent 65%
  );
  opacity: 0.25;
  pointer-events: none;
}

/* Feature cards */
.why-card {
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.05); /* uses bs-dark for tone */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.why-card:hover,
.why-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.09);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}

/* Icon circle */
.why-icon {
  width: 3.25rem;
  height: 3.25rem;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bs-primary), #000 15%);
}

/* Heading rhythm */
#why-choose h2 {
  letter-spacing: -0.02em;
}

/* CTA block */
.fe-cta {
  background:
    linear-gradient(
      0deg,
      color-mix(in oklab, var(--bs-primary), #fff 92%) 0%,
      var(--bs-white) 100%
    );
}

/* Reduced motion & high-contrast considerations */
@media (prefers-reduced-motion: reduce) {
  .why-card { transition: none; }
}

@media (forced-colors: active) {
  .why-card { border: 1px solid CanvasText; }
  .why-icon { border: 1px solid CanvasText; box-shadow: none; }
}

/* Testimonials — FinanceEveryday */

.fe-testimonials {
  position: relative;
  overflow: clip;
}

/* Subtle decorative gradient spot */
.fe-testimonials::before {
  content: "";
  position: absolute;
  left: -7rem;
  top: -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 35%,
    color-mix(in oklab, var(--bs-primary), #fff 78%) 0%,
    transparent 65%
  );
  opacity: 0.25;
  pointer-events: none;
}

/* Card styling */
.t-card {
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.05); /* uses bs-dark tone */
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.t-card:hover,
.t-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.09);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}

/* Quote text */
.t-quote {
  font-size: 1rem;
  line-height: 1.6;
}

/* Star row */
.t-stars svg {
  display: inline-block;
  vertical-align: middle;
}

/* High-contrast & reduced motion */
@media (prefers-reduced-motion: reduce) {
  .t-card { transition: none; }
}

@media (forced-colors: active) {
  .t-card { border: 1px solid CanvasText; box-shadow: none; }
}

/* FAQ Section Base */
.faq-section {
  background-color: var(--bs-light);
}

/* Accordion customization */
.accordion-button {
  background-color: var(--bs-white);
  border-radius: .75rem !important;
  box-shadow: none;
  transition: background-color .25s ease, color .25s ease;
}

.accordion-button:not(.collapsed) {
  color: var(--bs-white);
  background-color: var(--bs-secondary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 .15rem rgba(var(--bs-primary-rgb), .25);
}

.accordion-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .25s ease;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .08);
}

/* Accordion body text */
.accordion-body {
  background-color: var(--bs-white);
  border-top: 1px solid rgba(0, 0, 0, .05);
  border-bottom-left-radius: .75rem;
  border-bottom-right-radius: .75rem;
}

/* Reduced motion & contrast preferences */
@media (prefers-reduced-motion: reduce) {
  .accordion-item,
  .accordion-button {
    transition: none;
  }
}

@media (prefers-contrast: more) {
  .accordion-item { box-shadow: none; }
}

/* About Us — FinanceEveryday (sections only) */

.fe-about { position: relative; overflow: clip; }

/* Soft decorative spots */
.about-hero::before,
.about-approach::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: .25;
  background: radial-gradient(
    circle at 35% 35%,
    color-mix(in oklab, var(--bs-primary), #ffffff 78%) 0%,
    transparent 65%
  );
}
.about-hero::before { left: -7rem; top: -6rem; }
.about-approach::after { right: -7rem; bottom: -6rem; }

/* Note/CTA boxes */
.about-note,
.about-cta {
  box-shadow: 0 0.75rem 1.75rem rgba(33, 37, 41, 0.06); /* uses bs-dark tone */
}

/* Value cards */
.value-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.05);
}
.value-card:hover,
.value-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.09);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}

/* Icons */
.value-icon {
  width: 3.25rem; height: 3.25rem;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bs-primary), #000 15%);
}

/* Approach steps */
.approach-steps .step {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.04);
}
.approach-steps .step:hover,
.approach-steps .step:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(33, 37, 41, 0.08);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}
.step-badge { width: 2.25rem; height: 2.25rem; line-height: 1; }

/* Headings rhythm */
.about-values h2, .about-approach h2, .about-hero h1 { letter-spacing: -0.02em; }

/* Reduced motion & high contrast */
@media (prefers-reduced-motion: reduce) {
  .value-card, .approach-steps .step { transition: none; }
}
@media (forced-colors: active) {
  .value-card, .approach-steps .step { border: 1px solid CanvasText; box-shadow: none; }
  .value-icon { border: 1px solid CanvasText; box-shadow: none; }
}

/* Pricing — FinanceEveryday */

.fe-pricing { position: relative; overflow: clip; }

/* Decorative spot */
.fe-pricing::before {
  content: "";
  position: absolute;
  right: -7rem; top: -6rem;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle at 60% 40%,
    color-mix(in oklab, var(--bs-primary), #ffffff 78%) 0%,
    transparent 65%
  );
  opacity: .25; pointer-events: none;
}

/* Cards */
.price-card {
  box-shadow: 0 0.5rem 1.25rem rgba(33, 37, 41, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover,
.price-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(33, 37, 41, 0.09);
  border-color: color-mix(in oklab, var(--bs-primary), #000 10%);
}

/* Featured (middle) */
.price-card.featured {
  box-shadow: 0 1rem 2.25rem rgba(33, 37, 41, 0.12);
}
.price-card.featured .price-tag .fs-2 { letter-spacing: -0.02em; }

/* Ribbon */
.ribbon {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: .35rem .6rem;
  font-size: .8rem; font-weight: 600;
  border-radius: .5rem;
}

/* Price number */
.price-tag { line-height: 1; }

/* Check mark style for features */
.check { font-weight: 700; }

/* Note box */
.price-note {
  box-shadow: 0 0.75rem 1.75rem rgba(33, 37, 41, 0.06);
}

/* Reduced motion & high contrast */
@media (prefers-reduced-motion: reduce) {
  .price-card { transition: none; }
}
@media (forced-colors: active) {
  .price-card { border: 1px solid CanvasText; box-shadow: none; }
  .ribbon { border: 1px solid CanvasText; }
}
