/**
 * Static HTML page prototypes — supplements theme main.css
 * Page-specific layouts not yet in flexible sections.
 */

/* ─── Page form (inline quote / contact) ─────────────────────── */
.page-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-form__row {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .page-form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.page-form label {
  display: block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-2);
  margin-bottom: 6px;
}

.page-form input,
.page-form select,
.page-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(35, 38, 61, 0.16);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.page-form textarea {
  min-height: 120px;
  resize: vertical;
}

.page-form input:focus,
.page-form select:focus,
.page-form textarea:focus {
  outline: 2px solid rgba(230, 177, 54, 0.45);
  border-color: var(--accent);
}

.page-form__card {
  background: #fff;
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
}

/* ─── Feature / highlight cards ──────────────────────────────── */
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.feature-card {
  background: #fff;
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--brand-2);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6.4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Trust badges row ───────────────────────────────────────── */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 20px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-2);
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 8px 14px;
}

/* ─── Blog listing ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 16px 36px rgba(15, 27, 42, 0.12);
}

.blog-card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  overflow: hidden;
}
.blog-card__media img{width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card:hover .blog-card__media img { transform: scale(1.02); } 
.blog-card:hover h3, .blog-card:hover .blog-card__more { color: #e6b136; }
.blog-card__meta {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-2);
  line-height: 1.35;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.blog-card__more {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand);
}

/* ─── Blog detail / prose ────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 2rem;
  color: var(--brand-2);
}

.prose p,
.prose li {
  color: var(--ink);
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.25rem;
}

.article-hero {
  padding-block: clamp(40px, 6vw, 72px);
  background: var(--bg-alt);
  border-bottom: 1px solid rgba(35, 38, 61, 0.08);
}

.article-hero__meta {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.article-hero__meta a{
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.article-hero h1 {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.article-hero .lead {
  margin: 0;
  color: var(--muted);
}

/* ─── Legal pages ────────────────────────────────────────────── */
.legal {
  max-width: 800px;
}

.legal h2 {
  margin-top: 2rem;
  color: var(--brand-2);
  font-size: 1.25rem;
}

.legal h3 {
  margin-top: 1.5rem;
  color: var(--brand-2);
  font-size: 1.05rem;
}

.legal p,
.legal li {
  color: var(--ink);
  line-height: 1.7;
}

.legal__updated {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ─── Team member detail ─────────────────────────────────────── */
.team-detail {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .team-detail {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
}

.team-detail__photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.team-detail__role {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 6px;
}

.team-detail__loc {
  color: var(--muted);
  margin: 0 0 20px;
}

.team-detail__bio p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

/* ─── Community / partner orgs ───────────────────────────────── */
.org-list {
  display: grid;
  gap: 20px;
}

.org-card {
  background: #fff;
  border: 1px solid rgba(35, 38, 61, 0.08);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.org-card h3 {
  margin: 0 0 12px;
  color: var(--brand-2);
}

.org-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.org-card li {
  margin-bottom: 8px;
  color: var(--ink);
}

/* ─── Contact split ──────────────────────────────────────────── */
.contact-split {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
  }
}

.contact-info {
  display: grid;
}

.contact-info a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--accent);
}

/* ─── 404 / Thank you ────────────────────────────────────────── */
.status-page {
  text-align: center;
  padding-block: clamp(72px, 12vw, 120px);
}

.status-page__code {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 12px;
}

.status-page h1 {
  margin: 0 0 12px;
  color: var(--brand-2);
}

.status-page p {
  margin: 0 auto 28px;
  max-width: 36rem;
  color: var(--muted);
}

.status-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.status-page__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(230, 177, 54, 0.15);
  display: grid;
  place-items: center;
}

.status-page__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--accent);
}

/* ─── Content width helpers ──────────────────────────────────── */
.muted {
  color: var(--muted);
}

.mt-18 {
  margin-top: 18px;
}

.mt-28 {
  margin-top: 28px;
}

.text-center {
  text-align: center;
}

.max-720 {
  max-width: 720px;
}

.max-720.mx-auto {
  margin-inline: auto;
}
