* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f0e8;
  color: #2f2f2f;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* HERO */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("/imageshero.jpg");
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
  min-height: 111vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 120px 20px;
}

.hero-about {
  min-height: 82vh;
  padding: 110px 20px 70px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.hero-btn {
  display: inline-block;
  background: #caa472;
  color: white;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: bold;
  margin: 8px 6px 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-btn:hover {
  background: #b89263;
  transform: translateY(-2px);
}

/* INDEX */
.index-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(47, 91, 72, 0.18), rgba(47, 91, 72, 0.06)),
    #f4f0e8;
}

.index-card {
  width: min(100%, 760px);
  padding: 48px 32px;
  text-align: center;
  background: #faf7f2;
  border: 1px solid #e5dccf;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.index-card h1 {
  margin: 0 0 16px;
  font-size: 3rem;
  color: #2f5b48;
}

.index-label {
  margin: 0 0 10px;
  color: #6d5130;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-copy {
  max-width: 32rem;
  margin: 0 auto 24px;
  font-size: 1.1rem;
}

.index-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* MAIN SECTIONS */
main section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.5rem;
  color: #2f5b48;
  margin-bottom: 20px;
  text-align: center;
}

/* ABOUT */
#about {
  padding-top: 0;
  padding-bottom: 0;
}

#about p {
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.4;
  font-size: 1.5rem;
}

/* SERVICES */
#services {
  padding-top: 5px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 25px;
}

.card {
  background: #f8f4ec;
  padding: 0 20px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #2f5b48;
  font-size: 1.25rem;
}

.price {
  margin: 0;
  font-size: 1.25rem;
  font-weight: bold;
  color: #caa472;
}

.pricing-note {
  margin-top: 24px;
  font-size: 0.76rem;
  color: #555;
  text-align: center;
}

.pricing-link-row {
  margin-top: 24px;
  text-align: center;
}

/* SHARED BANNER / BUTTONS */
.top-banner {
  background-color: #e7dfd3;
  padding: 36px 24px 32px;
  text-align: center;
  border-bottom: 1px solid #d8cebf;
}

.top-banner h1 {
  margin: 0;
  font-size: 52px;
  color: white;
}

.top-banner p {
  margin: 10px 0 24px;
  font-size: 18px;
  color: tan;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-nav {
  margin-top: 18px;
}

.nav-button,
.hero-button {
  display: inline-block;
  background-color: #caa472;
  color: white;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.nav-button:hover,
.hero-button:hover {
  background-color: #b89263;
}

.nav-button.secondary {
  background-color: #2f5b48;
}

.hero-btn.is-active,
.nav-button.is-active {
  background-color: #2f5b48;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
  cursor: default;
}

/* SHARED PAGE LAYOUT */
.section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-title {
  text-align: center;
  font-size: 56px;
  color: #2f5b48;
  margin: 0 0 18px;
  font-weight: 700;
}

.section-text {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 20px;
  line-height: 1.7;
  color: #4d4d4d;
}

.pricing-banner {
  background:
    linear-gradient(rgba(47, 91, 72, 0.7), rgba(47, 91, 72, 0.55)),
    url("/imageshero.jpg");
  background-size: cover;
  background-position: center;
}

.pricing-page {
  padding-top: 40px;
  padding-bottom: 72px;
}

.doc-preview {
  max-width: 1120px;
  margin: 0 auto;
}

.doc-image {
  display: block;
  width: 100%;
  border: 1px solid #d8cebf;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.section-heading-block {
  margin-bottom: 44px;
}

.contact-page {
  padding-top: 56px;
  padding-bottom: 72px;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 32px;
  text-align: center;
  background: #faf7f2;
  border: 1px solid #e5dccf;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.contact-card .section-text {
  margin-bottom: 28px;
}

.contact-line {
  margin: 12px 0;
  font-size: 1.2rem;
}

.contact-line a {
  color: #2f5b48;
  font-weight: bold;
}

/* INTAKE FORM */
.intake-page {
  padding-top: 56px;
  padding-bottom: 72px;
}

.intake-shell {
  max-width: 980px;
  margin: 0 auto;
}

.intake-heading .section-text {
  margin-bottom: 0;
}

.intake-form {
  background: #faf7f2;
  border: 1px solid #e5dccf;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 36px 32px;
}

.form-section + .form-section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid #e5dccf;
}

.form-section h3 {
  margin: 0 0 18px;
  font-size: 1.65rem;
  color: #2f5b48;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stacked {
  grid-template-columns: 1fr;
}

.intake-form label,
.intake-form legend,
.form-intro {
  font-size: 0.98rem;
  color: #3c3c3c;
}

.intake-form label {
  display: block;
  font-weight: 600;
}

.intake-form input[type="text"],
.intake-form input[type="tel"],
.intake-form input[type="email"],
.intake-form input[type="date"],
.intake-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid #d8cebf;
  border-radius: 14px;
  background: #fffdf9;
  color: #2f2f2f;
  font: inherit;
}

.intake-form textarea {
  resize: vertical;
  min-height: 110px;
}

.intake-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.intake-form legend {
  margin-bottom: 12px;
  font-weight: 700;
}

.choice-row,
.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, max-content));
}

.choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.choice-pill,
.choice-card,
.check-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fffdf9;
  border: 1px solid #e1d6c7;
  border-radius: 16px;
  font-weight: 600;
}

.choice-card,
.check-card {
  min-height: 100%;
}

.choice-pill input,
.choice-card input,
.check-card input {
  margin-top: 3px;
  accent-color: #2f5b48;
}

.form-intro {
  margin: 0 0 18px;
  line-height: 1.6;
  color: #555;
}

.submit-row {
  margin-top: 36px;
  text-align: center;
}

.submit-button {
  border: 0;
  border-radius: 999px;
  background: #2f5b48;
  color: #fff;
  padding: 16px 34px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-button:hover {
  background: #264b3c;
  transform: translateY(-1px);
}

.submit-note {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: #555;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* FOOTER */
.footer-strip {
  background: #e7dfd3;
  text-align: center;
  padding: 40px 20px;
}

.footer-simple {
  padding: 24px 20px;
}

.footer-strip h2 {
  margin: 0 0 14px;
  color: #2f6b57;
  font-size: 48px;
}

.footer-strip p {
  margin: 0;
  font-size: 20px;
}

/* MOBILE */
@media (max-width: 1000px) {
  .top-banner h1,
  .section-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 45vh;
    padding: 50px 20px;
  }

  .hero-about {
    min-height: 52vh;
    padding: 60px 20px 42px;
  }

  .hero-services {
    min-height: 50vh;
    padding: 56px 20px 42px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .index-card {
    padding: 36px 24px;
  }

  .index-card h1 {
    font-size: 2.3rem;
  }

  .intake-form {
    padding: 28px 20px;
  }

  .two-column,
  .three-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .top-banner h1,
  .section-title {
    font-size: 34px;
  }

  .top-banner p,
  .section-text,
  .footer-strip p {
    font-size: 18px;
  }

  .footer-strip h2 {
    font-size: 34px;
  }
}
