/* Restyles the SEO landing pages (contractor / hospital / university)
   onto the new design system in styles.css. Load after styles.css. */

:root {
  /* old token names used in inline styles on these pages */
  --white: #FFFFFF;
  --cream: var(--paper);
  --cream-mid: var(--mist);
  --border-gold: var(--line);
}

.pad { padding: 88px 20px; }
.inner { max-width: var(--wrap); margin: 0 auto; }
.two-col, .two-col-eq { display: grid; gap: 56px; align-items: start; max-width: var(--wrap); margin: 0 auto; }
.two-col { grid-template-columns: 1fr 1.5fr; }
.two-col-eq { grid-template-columns: 1fr 1.2fr; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 72px; }
.hero-text { padding: 0; }
.hero-eyebrow { color: var(--stone); font-size: 0.95rem; margin-bottom: 16px; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero-title-script { display: block; }
.hero-subtitle { font-size: 1.15rem; color: var(--stone); max-width: 52ch; margin-bottom: 28px; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; background: var(--mist); }

/* Buttons from the old markup */
.btn-gold, .btn-outline, .btn-ghost, .rate-form button {
  display: inline-block; font: 600 1rem var(--font-body); text-decoration: none;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-gold, .rate-form button { background: var(--fern); color: var(--white); }
.btn-gold:hover, .rate-form button:hover { background: var(--fern-dark); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--forest); }
.btn-ghost:hover { background: var(--mist); }

/* Fact strip */
.trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 22px 20px; background: var(--mist); }
.trust-item { background: var(--white); border-radius: 999px; padding: 7px 15px; font-size: 0.93rem; font-weight: 500; }

/* Section type */
.section-eyebrow, .section-divider { display: none; }
.section-title { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-body { font-size: 1.12rem; color: var(--stone); max-width: 60ch; margin-bottom: 20px; }
.prose { max-width: 66ch; color: var(--forest); }
.prose p { margin-bottom: 1.1em; }
.prose strong { font-weight: 600; }

/* Amenity & audience grids */
.amenities-grid, .dark-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; margin-top: 40px; background: none; border: 0; }
.amenity-card, .dark-card { background: none; padding: 16px 0 0; border-top: 2px solid var(--forest); }
.amenity-icon { display: none; }
.amenity-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; color: var(--forest); }
.amenity-desc { color: var(--stone); font-size: 0.98rem; margin: 0; }

/* Dark band */
.cta-band { background: var(--forest); color: var(--white); }
.cta-band .section-title, .cta-band .amenity-title { color: var(--white); }
.cta-band .section-body, .cta-band .amenity-desc { color: #BFD3CA; }
.cta-band .dark-card { border-top-color: rgba(255,255,255,0.35); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: block; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--stone); }
.check-list li > span:first-child { display: none; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 9px; border-left: 2.5px solid var(--fern); border-bottom: 2.5px solid var(--fern); transform: rotate(-45deg); }
.check-list strong { color: var(--forest); font-weight: 600; }

.location-list { list-style: none; padding: 0; margin: 0; }
.location-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.location-list .dist { color: var(--stone); text-align: right; }

.faq-list { list-style: none; padding: 0; margin: 32px 0 0; max-width: 800px; }
.faq-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list li:first-child { border-top: 1px solid var(--line); }
.faq-q { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.faq-a { color: var(--stone); margin: 0; }

.fine { color: var(--stone); font-size: 0.95rem; border-left: 3px solid var(--mist); padding-left: 14px; margin-top: 28px; max-width: 64ch; }
.fine-dark { color: #BFD3CA; border-left-color: rgba(255,255,255,0.25); }

/* Forms on the dark band */
.rate-form { display: grid; gap: 14px; background: var(--white); border-radius: var(--radius-lg); padding: 32px; max-width: none; }
.rate-form input, .rate-form select, .rate-form textarea {
  width: 100%; font: inherit; color: var(--forest); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.rate-form input::placeholder, .rate-form textarea::placeholder { color: #8A9893; }
.rate-form input:focus, .rate-form select:focus, .rate-form textarea:focus { border-color: var(--fern); outline: none; box-shadow: 0 0 0 3px rgba(47,122,87,0.18); }
.rate-form textarea { min-height: 110px; resize: vertical; }
.rate-form button { justify-self: start; }

/* Related pages */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; background: none; border: 0; }
.related-grid a { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.related-grid a:hover { border-color: var(--fern); }
.related-grid .amenity-title { color: var(--forest); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .pad { padding: 64px 20px; }
  .two-col, .two-col-eq { grid-template-columns: 1fr; gap: 32px; }
  .rate-form { padding: 22px 16px; }
}
