/* ==========================================================================
   Chasewood Financial — theme tokens
   ========================================================================== */
:root {
  /* colors */
  --color-ink: #12151c;
  --color-ink-2: #171b24;
  --color-ink-foreground: #f6f4ee;
  --color-ink-foreground-muted: rgba(246, 244, 238, 0.72);
  --color-ink-border: rgba(246, 244, 238, 0.14);
  --color-lime: #55ff55;
  --color-lime-soft: #eef7d2;
  --color-lime-foreground: #33450f;
  --color-sand: #f6f1e6;
  --color-background: #ffffff;
  --color-foreground: #21242c;
  --color-muted-foreground: #6c7280;
  --color-border: #e7e1d3;
  --color-card: #ffffff;
  --color-accent: #f1efe7;

  /* type */
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* radius / shadow */
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-card: 0 20px 45px -25px rgba(18, 21, 28, 0.25);
  --shadow-lift: 0 30px 60px -30px rgba(18, 21, 28, 0.35);
  --shadow-lime: 0 16px 30px -12px rgba(205, 242, 78, 0.55);
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-foreground);
  background-color: var(--color-background);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4, .display-heading, .section-heading, .card-title, .card-title-lg,
.brand-name, .footer-brand, .footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

.container-page {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 992px) {
  .container-page {padding-inline: 0 4%;}
}

.section-pad { padding-block: 5rem; }
@media (min-width: 992px) { .section-pad { padding-block: 7rem; } }

.section-sand {background-color: #f4f0e7;}
.section-ink {
  color: var(--color-ink-foreground);
  background-image: linear-gradient(
    150deg,
    oklch(19% .02 255) 0%,
    oklch(26% .045 258) 60%,
    oklch(23% .03 250) 100%
);
}
section.section-ink.cta-section {
    margin-bottom: 100px;
}
.text-ink-foreground { color: var(--color-ink-foreground); }
.text-ink-foreground-muted { color: var(--color-ink-foreground-muted); }

.border-bottom { border-bottom: 1px solid var(--color-border); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.75rem 1.75rem;
  transition: all .2s ease;
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-lime {
  background-color: var(--color-lime);
  color: var(--color-lime-foreground);
  border: none;
  box-shadow: var(--shadow-lime);
}
.btn-lime:hover {filter: brightness(1.05);transform: translateY(-2px);color: var(--color-lime-foreground);background-color: var(--color-lime);}

.btn-outline-ink {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-foreground);
}
.btn-outline-ink:hover { background: var(--color-accent); color: var(--color-foreground); }

.btn-outline-light-ink {
  background: transparent;
  border: 2px solid var(--color-ink-border);
  color: var(--color-ink-foreground);
}
.btn-outline-light-ink:hover { background: rgba(246,244,238,0.1); color: var(--color-ink-foreground); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.topbar { background-color: var(--color-ink); color: var(--color-ink-foreground); }
.topbar-text { font-size: 0.9rem; font-weight: 600; }
.topbar-muted { font-size: 0.9rem; color: var(--color-ink-foreground-muted); }
.topbar-phone { font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-phone i { color: var(--color-lime); }

.dot-accent { color: var(--color-lime); }

.brand-mark {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: var(--color-ink);
  color: var(--color-lime);
  border-radius: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}
.brand-name { display: block; font-size: 1.15rem; color: var(--color-foreground); }
.brand-sub {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground);
}

.main-nav .nav-link {
  font-weight: 600;
  color: rgba(33,36,44,0.8);
  padding: 10px;
  border-radius: 0.4rem;
  font-size: 16px;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active {
  background: var(--color-accent); color: var(--color-foreground);
}

.navbar-toggler { border: 2px solid var(--color-border); }
.navbar-toggler:focus { box-shadow: none; }
.hero-section .eyebrow-lime {
    background: #55ff5559;
    padding: 10px;
    border-radius: 130px;
    border: 1px solid;
}
/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--color-muted-foreground);
}
.eyebrow-lime {color: var(--color-lime);width: fit-content;}

.display-heading { font-size: 2.75rem; line-height: 1.1; }
@media (min-width: 768px) { .display-heading { font-size: 3.4rem; } }
@media (min-width: 992px) { .display-heading { font-size: 3.9rem; } }

.section-heading { font-size: 1.9rem; line-height: 1.15; }
@media (min-width: 768px) { .section-heading { font-size: 2.4rem; } }
@media (min-width: 992px) { .section-heading {font-size: 2.75rem;letter-spacing: 0;} }

.lead-text { font-size: 1.15rem; }
@media (min-width: 768px) { .lead-text { font-size: 1.3rem; } }

.section-lead {font-size: 1.1rem;color: var(--color-muted-foreground);}
@media (min-width: 768px) { .section-lead { font-size: 1.25rem; } }

.card-title {font-size: 24px;}
.card-title-lg { font-size: 1.5rem; }
.card-text {color: var(--color-muted-foreground);font-size: 20px;}

.accent-rule {
  display: block;
  width: 3.5rem;
  height: 4px;
  border-radius: 999px;
  background-image: linear-gradient(
    100deg,
    oklch(86% .24 140) 0%,
    oklch(90% .19 158) 100%
);
}
.accent-rule-center { margin-inline: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {overflow: hidden;padding: 80px 0;}
.hero-footnote { border-top: 1px solid var(--color-ink-border); }

.hero-media { position: relative; }
.hero-img {
  width: 100%; height: auto; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}
.hero-quote {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(246,244,238,0.06);
  border: 1px solid var(--color-ink-border);
}
@media (min-width: 576px) {
  .hero-quote {
    position: absolute; left: 2rem; bottom: -2rem; max-width: 20rem;
    margin-top: 0;
    background: rgba(18,21,28,0.95);
    backdrop-filter: blur(6px);
  }
}
.hero-quote-title { font-family: var(--font-display); font-weight: 700; color: var(--color-lime); margin: 0 0 0.5rem; }
.hero-quote-text { font-size: 0.9rem; color: var(--color-ink-foreground-muted); margin: 0; }

/* ==========================================================================
   Feature strip
   ========================================================================== */
.feature-icon {font-size: 1.9rem;color: #000;}
.feature-title {font-family: var(--font-display);font-weight: 800;font-size: 20px;margin-top: 0.9rem;}
.feature-text {margin-top: 0.4rem;}

/* ==========================================================================
   Cards
   ========================================================================== */
.card-elevated {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card-dark {
  background: #101924;
  border: 1px solid var(--color-ink-border);
  border-radius: var(--radius-lg);
}.custom-height {
    height: 440px;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: #d3fcca;
  color: var(--color-lime-foreground);
  font-size: 1.3rem;
}

.ink-icon { font-size: 1.9rem; color: var(--color-lime); }

.owner-portrait {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-md);
}

.disclaimer-box {
  border: 1px solid var(--color-border);
  background: #f5f4f0;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  font-size: 0.9rem;
  color: #5f646a;
  line-height: 1.6;
}

.tag-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5f646a;
}

.highlight-box {
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: color-mix(
    in oklab,
    oklch(94% .05 152) 60%,
    transparent
);
}
.highlight-box.mt-4 .small-muted {
    color: #000;
}
.highlight-box .fw-semibold {color: #000;}
.small-muted { font-size: 0.9rem; color: rgba(51,69,15,0.8); }

.highlight-box-sand {
  border: 1px solid var(--color-border);
  background: var(--color-sand);
  border-radius: var(--radius-lg);
}

.rounded-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Steps
   ========================================================================== */
.step-card { position: relative; }
.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--color-lime-foreground);
  margin: 0;
  position: relative;
  z-index: 1;
}
.step-number::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 5px;
    right: 0;
    top: 0;
    background: #55ff55;
}

h3.card-title.mt-3 {}

.card-elevated.step-card.h-100.p-4 h3.card-title.mt-3 {
    font-size: 20px;
}
.steps-track {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  .steps-track { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .steps-track {
    grid-template-columns: repeat(5, 1fr);
    position: relative;
  }
  .steps-track::before {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: calc(10% + 1.1rem);
    right: calc(10% + 1.1rem);
    height: 1px;
    background: var(--color-border);
    z-index: 0;
  }
}
.step-track-item { position: relative; z-index: 1; }
.step-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-lime-foreground);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ==========================================================================
   Checklist items
   ========================================================================== */
.check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.check-item i { font-size: 1.5rem; color: var(--color-lime-foreground); flex-shrink: 0; }

/* ==========================================================================
   Why-grid
   ========================================================================== */
.why-grid { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-border); }
.why-cell {background: var(--color-card);}
.check-item .fw-semibold {
    font-size: 20px;
    text-align: left;
}

.card-elevated.check-item.p-4 {
    height: 150px;
}


.row.g-0.border.why-grid.mt-4 .col-md-6.col-lg-4.why-cell.p-4 {
    border: 0.000001px solid #ccc;
}
/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card { border-style: dashed; }
.testimonial-quote { font-size: 1.9rem; color: var(--color-lime-foreground); }
.testimonial-note {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-muted-foreground);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-label { font-weight: 700; font-size: 0.95rem; }
.form-control, .form-select {
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  padding: 0.7rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-lime);
  box-shadow: 0 0 0 0.2rem rgba(205,242,78,0.35);
}

.note-box {
  display: flex;
  gap: 0.65rem;
  border: 1px solid var(--color-ink-border);
  background: rgb(30 40 56);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--color-ink-foreground-muted);
}
.note-box i { color: var(--color-lime); margin-top: 0.15rem; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-accordion .accordion-item { background: transparent; border: none; border-bottom: 1px solid var(--color-border); border-radius: 0; }
.faq-accordion .accordion-button {
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-foreground);
  box-shadow: none;
  padding: 1rem 0;
}
.faq-accordion .accordion-button:not(.collapsed) { background: transparent; color: var(--color-foreground); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { flex-shrink: 0; }
.faq-accordion .accordion-body { color: var(--color-muted-foreground); padding: 0 0 1.25rem; }

/* ==========================================================================
   Resources page tabs
   ========================================================================== */
.w-fit-content { width: fit-content; }
#resourceTabs .btn { font-weight: 600; }
#resourceTabs .btn.active { color: var(--color-foreground) !important; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-section .btn i { margin-right: 0.4rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-ink-foreground); }
.footer-heading {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-lime);
  margin-bottom: 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.6rem; }
.footer-list a, .footer-list li {color: var(--color-ink-foreground-muted);font-size: 17px;}
.footer-list a:hover { color: var(--color-ink-foreground); }
.footer-contact i { color: var(--color-lime); margin-right: 0.4rem; }
.footer-legal li { font-size: 0.9rem; }
.footer-legal li a:hover { color: var(--color-lime); }

.footer-legal-bar {
  border-top: 1px solid var(--color-ink-border);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(246,244,238,0.55);
}

/* ==========================================================================
   Responsive tweaks & Page specific elements
   ========================================================================== */
@media (max-width: 991.98px) {
  .main-nav { text-align: center; }
  .main-nav .nav-link { padding: 0.6rem 0; }
}

img.header-logo {
    width: 100%;
}

a.navbar-brand.d-flex.align-items-center.gap-2 {
    width: 200px;
    padding: 0;
}

nav.navbar.navbar-expand-xl {
    padding: 0;
}

.container-page {width: 1340px; max-width: 100%;}

/* Legal pages layout matching Lovable design */
.legal-container {
  max-width: 760px;
  margin-inline: 0;
}

.legal-content-box {
  background: var(--color-card);
  padding: 0;
}

.legal-section-item {
  margin-bottom: 2.5rem;
}

.legal-section-item h2, .legal-section-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.legal-section-item p {
  color: var(--color-muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.legal-notice-box {
  border: 1px solid var(--color-border);
  background: #f8f6f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
  margin-top: 3rem;
}

/* Appointment Picker styling */
.calendar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: #fff;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}

.calendar-day-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted-foreground);
  padding-bottom: 0.5rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled) {
  background: var(--color-accent);
}

.calendar-day.selected {
  background: var(--color-ink) !important;
  color: #fff !important;
  font-weight: 700;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.today:not(.selected) {
  border: 1.5px solid var(--color-lime);
  font-weight: 700;
}

#prevMonth:disabled, #nextMonth:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calc-estimate-box {
  background: var(--color-ink-2);
  border: 1px solid var(--color-ink-border);
  border-radius: var(--radius-lg);
  color: var(--color-ink-foreground);
}
.w-75 {
    width: 75%;
}
button.btn.btn-lime.play-btns.btn-sm.px-3 {
    display: block;
    width: 100%;
}

.mt-4.pt-3.border-top.d-flex.align-items-center.justify-content-between {
    flex-wrap: wrap;
}
button.btn.btn-lime.play-btns.btn-sm.px-3 {
    background-color: var(--color-lime);
    color: var(--color-lime-foreground);
    border: none;
    box-shadow: var(--shadow-lime);
}
.no-bg {
    background: transparent !important;
    border: 0 !important;
}