/* Boynton Works — global styles
   Mobile-first, simple, practical, no institutional feel. */

:root {
  --color-bg: #fafaf7;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-accent: #2d6a4f;
  --color-accent-hover: #1b4332;
  --color-border: #e0e0e0;
  --color-alt-bg: #f0f0eb;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --max-width: 720px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  width: 100%;
  max-width: 280px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Sections */
.section {
  padding: 2rem 0;
}

.section-alt {
  background: var(--color-alt-bg);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}

.card:hover {
  border-color: var(--color-accent);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.card-summary {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* CTA section */
.cta-section {
  padding: 2.5rem 0;
  text-align: center;
  background: var(--color-alt-bg);
}

.cta-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.cta-section p {
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

/* Page */
.page-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* Category section */
.category-section {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.category-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

/* Service detail */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
}

.service-provider {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.service-provider a {
  color: var(--color-accent);
  text-decoration: none;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-meta span {
  background: var(--color-alt-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.service-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.service-body ul,
.service-body ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.service-body li {
  margin-bottom: 0.25rem;
}

.service-body p {
  margin: 0 0 1rem;
}

/* Provider */
.provider-tagline {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 0.25rem;
}

.provider-location {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

.provider-bio {
  margin-bottom: 2rem;
}

.provider-services {
  margin-bottom: 2rem;
}

.provider-services h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

/* Contact box */
.contact-box {
  background: var(--color-alt-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 2rem;
}

.contact-box h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.contact-box p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.contact-box a {
  color: var(--color-accent);
  text-decoration: none;
}

/* Info box */
.info-box {
  background: var(--color-alt-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-box h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.info-box ol {
  margin: 0;
  padding-left: 1.25rem;
}

.info-box li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* Form */
.submit-form {
  max-width: 480px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--color-surface);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-note a {
  color: var(--color-accent);
  text-decoration: none;
}

/* About */
.about-section {
  margin-bottom: 2rem;
}

.about-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.about-section p,
.about-section li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.about-section ul {
  padding-left: 1.25rem;
  margin: 0;
}

.about-section li {
  margin-bottom: 0.5rem;
}

.about-section a {
  color: var(--color-accent);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-tagline {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

.footer-attribution {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-attribution a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* Tablet and up */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktop and up */
@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
