
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Karla:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #fdfcf9;
  --fg: #1e2e27;
  --card: #ffffff;

  --primary: #2f6b4f;
  --primary-foreground: #f7faf8;
  --primary-deep: #1b3a2e;
  --primary-soft: #e7f2ec;

  --secondary: #eef5f0;
  --secondary-foreground: #294539;

  --muted: #f1f4f2;
  --muted-foreground: #5f6d65;

  --accent: oklch(52% .19 25);
  --accent-foreground: #fff8f5;
  --accent-soft: #f9e2dc;

  --border: #dde6e1;

  --shadow-soft: 0 18px 40px -24px rgba(27, 58, 46, 0.35);
  --shadow-lift: 0 28px 60px -28px rgba(27, 58, 46, 0.45);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Karla", system-ui, -apple-system, sans-serif;

  /* Point Bootstrap's own variables at our palette */
  --bs-primary: var(--primary);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--fg);
  --bs-body-font-family: var(--font-sans);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-deep);
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
}

h1, h2, h3, h4,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

a {
  text-decoration: none;
}

/* ---- layout helpers ---- */
.section {
  padding-block: 4.5rem;
}

.container-x {
  max-width: 76rem;
}

.text-muted-custom {
  color: var(--muted-foreground);
}

.bg-primary-deep { background-color: var(--primary-deep); }
.bg-primary-soft { background-color: var(--primary-soft); }
.bg-secondary-custom { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.text-primary-custom { color: var(--primary); }
.text-accent-custom { color: var(--accent); }
.text-primary-foreground { color: var(--primary-foreground); }

/* ---- eyebrow label ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
}

.eyebrow-light {
  background: oklch(95% .04 30);
  color: oklch(52% .19 25);
}

/* ---- buttons ---- */
.btn-primary-custom,
.btn-accent-custom,
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary-custom {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary-custom:hover {
  background: var(--primary-deep);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.btn-accent-custom {
  background: var(--accent);
  color: var(--accent-foreground);
}
.btn-accent-custom:hover {
  filter: brightness(0.93);
  color: var(--accent-foreground);
  transform: translateY(-1px);
}

.btn-outline-custom {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
}
.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-light-custom {
  border: 1px solid rgba(247, 250, 248, 0.4);
  background: transparent;
  color: var(--primary-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border: none;
  border: 1px solid oklch(99% .008 120);
}
.btn-outline-light-custom:hover {
  background: rgba(247, 250, 248, 0.1);
  color: var(--primary-foreground);
}

/* ---- cards ---- */
.card-soft {
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-header .nav-link {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.site-header .nav-link:hover {
  background: var(--secondary);
  color: var(--fg);
}

.site-header .nav-link.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.intake-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* ---- hero slider (Bootstrap Carousel) ---- */
.hero-carousel {
  height: 34rem;
}

@media (min-width: 768px) {
  .hero-carousel {
    height: 38rem;
  }
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-carousel .slide-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 58, 46, 0.9),
    rgba(27, 58, 46, 0.7) 45%,
    rgba(27, 58, 46, 0.2)
  );
}

.hero-carousel .carousel-caption-custom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  text-align: left;
}

.hero-carousel .carousel-caption-custom .inner {
  max-width: 42rem;
  color: var(--primary-foreground);
}

.hero-carousel .carousel-caption-custom h1 {
  font-size: 2.25rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-carousel .carousel-caption-custom h1 {
    font-size: 3.75rem;
  }
}

.hero-carousel .carousel-indicators {
  bottom: 1.5rem;
  left: auto;
  right: auto;
  margin: 0 auto 0 1.25rem;
  justify-content: flex-start;
  max-width: 76rem;
  width: 100%;
  padding: 0 1.25rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  height: 0.375rem;
  width: 1rem;
  border-radius: 999px;
  background-color: rgba(247, 250, 248, 0.5);
  border: none;
  opacity: 1;
}

.hero-carousel .carousel-indicators .active {
  width: 2.5rem;
  background-color: var(--accent);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  top: auto;
  bottom: 1rem;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 250, 248, 0.4);
  opacity: 1;
   z-index: 20;
  pointer-events: auto;
}

.hero-carousel .carousel-control-prev {
  left: auto;
  right: 4.5rem;
}

.hero-carousel .carousel-control-next {
  right: 1.25rem;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---- page hero (interior pages) ---- */
.page-hero {
  background: var(--primary-deep);
  color: var(--primary-foreground);
  padding-block: 4rem;
}

.page-hero h1 {
  font-size: 2.25rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

/* ---- footer ---- */
.site-footer {
  background: var(--primary-deep);
  color: var(--primary-foreground);
}

.site-footer h3,
.site-footer h4 {
  color: var(--primary-foreground);
}

.site-footer a {
  color: rgba(247, 250, 248, 0.85);
}

.site-footer a:hover {
  color: var(--primary-foreground);
  text-decoration: underline;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(247, 250, 248, 0.15);
  color: rgba(247, 250, 248, 0.6);
  font-size: 0.75rem;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}

/* ---- FAQ accordion ---- */
.accordion-custom .accordion-item {
  border-radius: 1.25rem !important;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.75rem;
}

.accordion-custom .accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--card);
  color: var(--fg);
  box-shadow: none;
}

.accordion-custom .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.accordion-custom .accordion-button::after {
  color: var(--accent);
}

.accordion-custom .accordion-body {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  padding: 0 1.5rem 1.25rem;
}

/* ---- forms ---- */
.form-control-custom,
.form-select-custom {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* ---- misc bullets ---- */
.bullet-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bullet-list .dot {
  margin-top: 0.5rem;
  height: 0.5rem;
  width: 0.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--accent);
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
}
