/* ============================================================
   Murfreesboro Foundation Pros — Main Stylesheet
   Colors: #1a3a2a (forest green primary) | #c8952a (gold accent)
   Fonts: DM Serif Display (headings) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: #c8952a; text-decoration: none; transition: color .2s; }
a:hover { color: #a57220; }

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.25;
  color: #1a3a2a;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
ul { list-style: none; }

/* ── Layout Utilities ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--alt { background: #f4f7f4; }
.section--dark { background: #1a3a2a; color: #e8f0ea; }
.section--dark h2, .section--dark h3 { color: #f5e8d0; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  border: none;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #c8952a;
  color: #fff;
}
.btn--primary:hover { background: #a57220; color: #fff; }

.btn--outline {
  background: transparent;
  border: 2px solid #c8952a;
  color: #c8952a;
}
.btn--outline:hover { background: #c8952a; color: #fff; }

.btn--white {
  background: #fff;
  color: #1a3a2a;
}
.btn--white:hover { background: #f0f0f0; color: #1a3a2a; }

.btn--lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 58, 42, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}
.logo__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: #f5e8d0;
  white-space: nowrap;
}
.logo__tag {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c8952a;
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  color: #d4e8d8;
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem .75rem;
  border-radius: 3px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { background: rgba(200,149,42,.18); color: #f5c85a; }

.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.header-phone {
  font-weight: 700;
  font-size: .95rem;
  color: #f5c85a;
  white-space: nowrap;
}
.header-phone:hover { color: #ffe08a; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #d4e8d8;
  margin: 5px 0;
  transition: transform .2s;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero:hover .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 28, 18, 0.72) 0%,
    rgba(26, 58, 42, 0.55) 50%,
    rgba(10, 28, 18, 0.45) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #c8952a;
  background: rgba(200,149,42,.12);
  border: 1px solid rgba(200,149,42,.35);
  padding: .35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
}
.hero__title span { color: #f5c85a; }

.hero__subtitle {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Trust Bar ── */
.trust-bar {
  background: #c8952a;
  padding: .9rem 0;
}
.trust-bar__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.trust-icon { font-size: 1.1rem; }

/* ── Section Headers ── */
.section-header { margin-bottom: 3rem; }
.section-header .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8952a;
  margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: #4b5563; max-width: 640px; }
.section-header.text-center p { margin: 0 auto; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #fff;
  border: 1px solid #e5ede7;
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow .25s, transform .2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,58,42,.12);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px; height: 52px;
  background: rgba(200,149,42,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.card__title { margin-bottom: .6rem; color: #1a3a2a; }
.card__text { color: #4b5563; font-size: .9rem; margin-bottom: 1.25rem; }
.card .btn { font-size: .82rem; padding: .55rem 1.25rem; }

/* ── Service List (services page) ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid #e5ede7;
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block__img {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-block__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.service-block__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c8952a;
  margin-bottom: .5rem;
}

.service-block__list {
  margin: 1rem 0 1.5rem;
}
.service-block__list li {
  padding: .4rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: #374151;
  font-size: .92rem;
}
.service-block__list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #c8952a;
  font-weight: 700;
}

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.why-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
}
.why-item .icon { font-size: 2.2rem; margin-bottom: .85rem; }
.why-item h4 { color: #f5e8d0; margin-bottom: .5rem; }
.why-item p { color: rgba(232,240,234,.75); font-size: .875rem; margin: 0; }

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid #e5ede7;
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  counter-increment: step;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -10px; right: 12px;
  font-family: 'DM Serif Display', serif;
  font-size: 4.5rem;
  color: rgba(200,149,42,.12);
  line-height: 1;
  pointer-events: none;
}
.step h4 { color: #1a3a2a; margin-bottom: .5rem; }
.step p { font-size: .88rem; color: #4b5563; margin: 0; }

/* ── Cost Guide ── */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: .9rem;
}
.cost-table th {
  background: #1a3a2a;
  color: #f5e8d0;
  padding: .85rem 1.1rem;
  text-align: left;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cost-table td {
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #e5ede7;
  vertical-align: top;
}
.cost-table tr:nth-child(even) td { background: #f4f7f4; }
.cost-table tr:last-child td { border-bottom: none; }
.cost-badge {
  display: inline-block;
  background: rgba(200,149,42,.15);
  color: #8a5f10;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 3px;
  font-size: .82rem;
  white-space: nowrap;
}

/* ── FAQ Accordion ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e5ede7;
  padding: 1.35rem 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: #1a3a2a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0;
  transition: color .2s;
}
.faq-question:hover { color: #c8952a; }
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: #f4f7f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #c8952a;
  transition: background .2s, transform .3s;
}
.faq-item.open .faq-icon { background: #c8952a; color: #fff; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
  color: #4b5563;
  font-size: .93rem;
  line-height: 1.75;
  padding: 0 2.5rem 0 0;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: .85rem; }

/* ── Gallery ── */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  border: 1px solid #d4e0d6;
  background: #fff;
  color: #374151;
  padding: .45rem 1.1rem;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: #1a3a2a;
  border-color: #1a3a2a;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,28,18,.75));
  color: #fff;
  padding: 1.5rem .85rem .65rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Contact Form ── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.25rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-detail .icon {
  width: 42px; height: 42px;
  background: rgba(200,149,42,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail .label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #c8952a;
  margin-bottom: .2rem;
}
.contact-detail .value {
  font-size: .95rem;
  color: #1f2937;
  font-weight: 500;
}

.form-card {
  background: #fff;
  border: 1px solid #e5ede7;
  border-radius: 10px;
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(26,58,42,.07);
}
.form-card h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .45rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: #1f2937;
  background: #fafafa;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a3a2a;
  box-shadow: 0 0 0 3px rgba(26,58,42,.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; appearance: auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Service Area ── */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}
.chip {
  background: rgba(200,149,42,.13);
  border: 1px solid rgba(200,149,42,.3);
  color: #7a4e10;
  padding: .35rem .9rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, #1a3a2a 0%, #0e2419 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: #f5e8d0; margin-bottom: .75rem; }
.cta-band p { color: rgba(232,240,234,.8); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer {
  background: #0e1e14;
  color: #9ab89e;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo .logo__name { font-size: 1.1rem; color: #f5e8d0; }
.footer-tagline { font-size: .85rem; color: #6b8f6f; margin-top: .75rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c8952a;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a {
  color: #9ab89e;
  font-size: .875rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #f5e8d0; }

.footer-contact p {
  font-size: .875rem;
  margin-bottom: .65rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-contact a { color: #c8952a; }
.footer-contact a:hover { color: #f5c85a; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: #567059;
}

/* ── Page Hero (interior) ── */
.page-hero {
  background: linear-gradient(135deg, #1a3a2a 0%, #0e2419 100%);
  padding: 7rem 0 4rem;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c8952a;
  margin-bottom: .75rem;
}
.page-hero h1 { color: #f5e8d0; margin-bottom: .75rem; }
.page-hero p { color: rgba(232,240,234,.8); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ── Thank You Page ── */
.thankyou-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f7f4, #e8f0ea);
  padding: 4rem 1.25rem;
}
.thankyou-card {
  background: #fff;
  border-radius: 12px;
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 520px;
  box-shadow: 0 12px 48px rgba(26,58,42,.12);
}
.thankyou-icon { font-size: 4rem; margin-bottom: 1.25rem; }
.thankyou-card h1 { font-size: 2.2rem; margin-bottom: .85rem; }
.thankyou-card p { color: #4b5563; margin-bottom: .5rem; }
.thankyou-card .actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: #6b8f6f;
  margin-bottom: 2rem;
}
.breadcrumb a { color: #6b8f6f; }
.breadcrumb a:hover { color: #c8952a; }
.breadcrumb span { color: #4b5563; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block { grid-template-columns: 1fr; gap: 2rem; }
  .service-block.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .nav { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: #1a3a2a; padding: 1.25rem; gap: .25rem; z-index: 999; }
  .nav.open { display: flex; }
  .nav a { padding: .65rem 1rem; font-size: .95rem; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile hero overrides */
  .hero {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
  }
  .hero__content { padding: 0 1rem; }
  .hero__title { font-size: 1.6rem; }
  .hero__subtitle { font-size: .875rem; }
  .hero__scroll { display: none; }
  .hero__actions { gap: .6rem; }
  .btn--lg { padding: .7rem 1.5rem; font-size: .9rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar__inner { gap: .85rem 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .header-cta .btn { display: none; }
}
