
@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 VARIABLES
========================================================= */

: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% 0.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;

  /* Bootstrap variables */
  --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);
}


/* =========================================================
   RESET / BASE
========================================================= */

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

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


/* =========================================================
   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
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.35rem 0.85rem;

  border-radius: 999px;

  background: var(--accent-soft);
  color: var(--accent);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary-custom,
.btn-accent-custom,
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.8rem 1.6rem;

  border-radius: 999px;
  font-weight: 600;

  transition: all 0.2s ease;
}

.btn-primary-custom {
  border: none;
  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 {
  border: none;
  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 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.8rem 1.6rem;

  border: 1px solid rgba(247, 250, 248, 0.6);
  border-radius: 999px;

  background: transparent;
  color: var(--primary-foreground);

  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-outline-light-custom:hover {
  background: rgba(247, 250, 248, 0.1);
  color: var(--primary-foreground);
}


/* =========================================================
   CARDS
========================================================= */

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


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;

  background: rgba(253, 252, 249, 0.9);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   LOGO
========================================================= */

.brand-badge {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 3.5rem;

  overflow: visible;
}

.brand-badge img {
  display: block;

  width: auto !important;
  height: 56px !important;

  max-width: 70px !important;
  max-height: 56px !important;

  object-fit: contain;
  object-position: center;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-header .nav-link {
  padding: 0.5rem 1rem;

  border-radius: 999px;

  color: var(--muted-foreground);

  font-size: 0.9rem;
  font-weight: 600;

  transition: all 0.2s ease;
}

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

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


/* =========================================================
   PHONE
========================================================= */

.intake-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: var(--primary);

  font-size: 0.9rem;
  font-weight: 600;
}


/* =========================================================
   HERO CAROUSEL
========================================================= */

.hero-carousel {
  position: relative;
  height: 34rem;
  overflow: hidden;
}

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

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

.hero-carousel .carousel-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-carousel .slide-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  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 CAPTION
========================================================= */

.hero-carousel .carousel-caption-custom {
  position: absolute;
  inset: 0;

  z-index: 2;

  display: flex;
  align-items: center;

  text-align: left;
}

.hero-carousel .carousel-caption-custom .inner {
  max-width: 42rem;

  color: var(--primary-foreground);
}

.hero-carousel .carousel-caption-custom h1 {
  margin-bottom: 1rem;

  font-size: 2.25rem;
  line-height: 1.15;
}

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


/* =========================================================
   CAROUSEL INDICATORS
========================================================= */

.hero-carousel .carousel-indicators {
  bottom: 1.5rem;

  left: 0;
  right: auto;

  width: 100%;
  max-width: 76rem;

  margin: 0 auto;

  padding: 0 1.25rem;

  justify-content: flex-start;

  z-index: 10;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 1rem;
  height: 0.375rem;

  padding: 0;
  margin-right: 0.35rem;
  margin-left: 0.35rem;

  border: none;
  border-radius: 999px;

  background-color: rgba(247, 250, 248, 0.5);

  opacity: 1;
}

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


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  position: absolute;

  top: auto;
  bottom: 1rem;

  width: 2.5rem;
  height: 2.5rem;

  border: 1px solid rgba(247, 250, 248, 0.4);
  border-radius: 999px;

  opacity: 1;

  z-index: 20;

  pointer-events: auto;

  transition: all 0.2s ease;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(247, 250, 248, 0.8);
}

.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
========================================================= */

.page-hero {
  padding-block: 4rem;

  background: var(--primary-deep);
  color: var(--primary-foreground);
}

.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
========================================================= */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 2.75rem;
  height: 2.75rem;

  flex-shrink: 0;

  border-radius: 999px;

  background: var(--primary-soft);
  color: var(--primary);
}


/* =========================================================
   FAQ ACCORDION
========================================================= */

.accordion-custom .accordion-item {
  margin-bottom: 0.75rem;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 1.25rem !important;

  box-shadow: var(--shadow-soft);
}

.accordion-custom .accordion-button {
  padding: 1.25rem 1.5rem;

  font-weight: 600;
}

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

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

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

.accordion-custom .accordion-body {
  padding: 0 1.5rem 1.25rem;

  color: var(--muted-foreground);
  font-size: 0.9rem;
}


/* =========================================================
   FORMS
========================================================= */

.form-control-custom,
.form-select-custom {
  padding: 0.5rem 0.75rem;

  border: 1px solid var(--border);
  border-radius: 0.5rem;

  font-size: 0.9rem;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(47, 107, 79, 0.12);
  outline: none;
}


/* =========================================================
   BULLET LIST
========================================================= */

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

.bullet-list .dot {
  width: 0.5rem;
  height: 0.5rem;

  flex-shrink: 0;

  margin-top: 0.5rem;

  border-radius: 999px;

  background: var(--accent);
}


/* =========================================================
   STEP NUMBER
========================================================= */

.step-number {
  color: var(--accent);

  font-family: var(--font-display);
  font-size: 1.9rem;
}


/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

  .section {
    padding-block: 3rem;
  }

  .brand-badge {
    width: 3rem;
    height: 3rem;
    flex-basis: 3rem;
  }

  .brand-badge img {
    width: auto !important;
    height: 48px !important;
    max-width: 60px !important;
    max-height: 48px !important;
  }

  .hero-carousel {
    height: 30rem;
  }

  .hero-carousel .carousel-caption-custom h1 {
    font-size: 2rem;
  }

  .hero-carousel .carousel-indicators {
    padding-left: 1rem;
  }

  .hero-carousel .carousel-control-prev {
    right: 4rem;
  }

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


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 480px) {

  .brand-badge img {
    width: auto !important;
    height: 44px !important;
    max-width: 55px !important;
    max-height: 44px !important;
  }

  .hero-carousel {
    height: 28rem;
  }

  .hero-carousel .carousel-caption-custom h1 {
    font-size: 1.75rem;
  }
}

