/* ============================================
   Landing Health — Shared CSS
   Allied Health vertical landing pages
   Eagle Gaming · 2026
   ============================================ */

/* --- Custom Properties --- */
:root {
  --lh-bg: #FAF8F5;
  --lh-primary: #1B4332;
  --lh-accent: #D4A853;
  --lh-accent-hover: #c4982e;
  --lh-text: #1A1A1A;
  --lh-text-light: #5A5A5A;
  --lh-card-bg: #FFFFFF;
  --lh-section-alt: #F0EDE8;
  --lh-radius: 12px;
  --lh-shadow: 0 2px 12px rgba(0,0,0,0.06);
  --lh-shadow-hover: 0 6px 24px rgba(0,0,0,0.10);
}

/* --- Reset & Base --- */
html {
  scroll-behavior: smooth;
}

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

body.lh-body {
  font-family: 'DM Sans', sans-serif;
  background: var(--lh-bg);
  color: var(--lh-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --- Typography (fluid) --- */
.lh-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  color: var(--lh-primary);
  letter-spacing: -0.02em;
}

.lh-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--lh-primary);
}

.lh-h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.3;
  color: var(--lh-primary);
}

.lh-body-lg {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--lh-text-light);
  line-height: 1.7;
}

.lh-body-sm {
  font-size: 0.875rem;
  color: var(--lh-text-light);
}

/* --- Layout --- */
.lh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.lh-section {
  padding: 4rem 0;
}

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

.lh-section--dark {
  background: var(--lh-primary);
}

/* --- Buttons --- */
.lh-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 2rem;
  background: var(--lh-accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.lh-btn-primary:hover,
.lh-btn-primary:focus-visible {
  background: var(--lh-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
}

.lh-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  background: transparent;
  color: var(--lh-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--lh-primary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lh-btn-ghost:hover,
.lh-btn-ghost:focus-visible {
  background: var(--lh-primary);
  color: #fff;
}

/* --- Sticky Nav --- */
.lh-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lh-bg);
  transition: box-shadow 0.3s ease;
}

.lh-nav--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.lh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.lh-nav__logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--lh-primary);
  text-transform: uppercase;
}

/* --- Hero --- */
.lh-hero {
  padding: 5rem 0 4rem;
}

.lh-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.lh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lh-hero__sub {
  margin-top: 1rem;
}

.lh-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  list-style: none;
}

.lh-trust-strip li {
  font-size: 0.85rem;
  color: var(--lh-text-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lh-trust-strip li::before {
  content: "\2713";
  color: var(--lh-accent);
  font-weight: 700;
}

.lh-hero__visual {
  display: none;
}

/* Desktop hero */
@media (min-width: 768px) {
  .lh-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lh-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Hero visual — abstract device mockup */
.lh-device-mockup {
  position: relative;
  width: 280px;
  height: 360px;
}

.lh-device-mockup__frame {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: var(--lh-card-bg);
  box-shadow: var(--lh-shadow-hover);
  border: 1px solid #e8e4de;
  overflow: hidden;
  position: relative;
}

.lh-device-mockup__bar {
  height: 32px;
  background: var(--lh-section-alt);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.lh-device-mockup__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
}

.lh-device-mockup__content {
  padding: 20px;
}

.lh-device-mockup__line {
  height: 10px;
  border-radius: 5px;
  background: var(--lh-section-alt);
  margin-bottom: 10px;
}

.lh-device-mockup__line--short { width: 60%; }
.lh-device-mockup__line--mid { width: 80%; }
.lh-device-mockup__line--accent {
  background: var(--lh-accent);
  width: 40%;
  height: 14px;
  margin-top: 16px;
}
.lh-device-mockup__line--green {
  background: var(--lh-primary);
  opacity: 0.15;
}

.lh-device-mockup__block {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: var(--lh-section-alt);
  margin-top: 14px;
}

/* Abstract floating shapes */
.lh-device-mockup::before,
.lh-device-mockup::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.lh-device-mockup::before {
  width: 120px;
  height: 120px;
  background: rgba(212, 168, 83, 0.15);
  top: -30px;
  right: -40px;
}

.lh-device-mockup::after {
  width: 80px;
  height: 80px;
  background: rgba(27, 67, 50, 0.10);
  bottom: -20px;
  left: -30px;
}

/* --- Social Proof Bar --- */
.lh-social-proof {
  background: var(--lh-section-alt);
  padding: 3rem 0;
}

.lh-social-proof__heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--lh-text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.lh-testimonials-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.lh-testimonial-card {
  background: var(--lh-card-bg);
  border-radius: var(--lh-radius);
  padding: 1.5rem;
  box-shadow: var(--lh-shadow);
}

.lh-stars {
  color: var(--lh-accent);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.lh-testimonial-card blockquote {
  font-style: italic;
  color: var(--lh-text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.lh-testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--lh-text-light);
}

/* --- Problem Section --- */
.lh-problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .lh-problem__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lh-problem__statement {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--lh-primary);
  line-height: 1.35;
}

.lh-pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lh-pain-list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.5;
  color: var(--lh-text);
}

.lh-pain-list li::before {
  content: "\2715";
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}

/* --- How It Works --- */
.lh-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

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

.lh-step {
  text-align: center;
  padding: 1rem;
}

.lh-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lh-primary);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.lh-step__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--lh-primary);
  margin-bottom: 0.5rem;
}

.lh-step__desc {
  font-size: 0.95rem;
  color: var(--lh-text-light);
  line-height: 1.6;
}

.lh-section__cta {
  text-align: center;
  margin-top: 2rem;
}

/* --- What's Included (cards grid) --- */
.lh-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.lh-card {
  background: var(--lh-card-bg);
  border-radius: var(--lh-radius);
  padding: 1.75rem;
  box-shadow: var(--lh-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lh-card:hover {
  box-shadow: var(--lh-shadow-hover);
  transform: translateY(-2px);
}

.lh-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.lh-card__title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--lh-primary);
  margin-bottom: 0.5rem;
}

.lh-card__text {
  font-size: 0.92rem;
  color: var(--lh-text-light);
  line-height: 1.65;
}

/* --- Portfolio --- */
.lh-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.lh-portfolio-card {
  background: var(--lh-card-bg);
  border-radius: var(--lh-radius);
  overflow: hidden;
  box-shadow: var(--lh-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.lh-portfolio-card:hover {
  box-shadow: var(--lh-shadow-hover);
  transform: translateY(-3px);
}

.lh-portfolio-card__frame {
  width: 100%;
  height: 200px;
  background: var(--lh-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e8e4de;
  position: relative;
  overflow: hidden;
}

.lh-portfolio-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lh-portfolio-card__placeholder {
  color: var(--lh-text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.lh-portfolio-card__body {
  padding: 1.25rem;
}

.lh-portfolio-card__name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--lh-primary);
  margin-bottom: 0.25rem;
}

.lh-portfolio-card__desc {
  font-size: 0.85rem;
  color: var(--lh-text-light);
}

/* --- CPQ CTA Section --- */
.lh-cta-banner {
  background: var(--lh-primary);
  padding: 4rem 0;
  text-align: center;
}

.lh-cta-banner .lh-h2 {
  color: #fff;
}

.lh-cta-banner__sub {
  color: var(--lh-bg);
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* --- FAQ Accordion --- */
.lh-faq {
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.lh-faq__item {
  border-bottom: 1px solid #e0dcd6;
}

.lh-faq__question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--lh-text);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}

.lh-faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--lh-accent);
  transition: transform 0.2s ease;
}

.lh-faq__question[aria-expanded="true"]::after {
  content: "\2212";
}

.lh-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.lh-faq__answer[aria-hidden="false"] {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.lh-faq__answer p {
  font-size: 0.95rem;
  color: var(--lh-text-light);
  line-height: 1.7;
}

/* --- Lead Capture Form --- */
.lh-form-section {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.lh-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

@media (min-width: 600px) {
  .lh-form {
    grid-template-columns: 1fr 1fr;
  }

  .lh-form__full {
    grid-column: 1 / -1;
  }
}

.lh-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lh-text);
  margin-bottom: 0.35rem;
}

.lh-form input,
.lh-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d4d0ca;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--lh-card-bg);
  color: var(--lh-text);
  transition: border-color 0.2s ease;
}

.lh-form input:focus,
.lh-form select:focus {
  outline: none;
  border-color: var(--lh-accent);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.lh-form__submit {
  justify-self: start;
}

.lh-form .lh-ohnohoney {
  display: none;
}

/* --- Footer CTA --- */
.lh-footer-cta {
  text-align: center;
  padding: 4rem 0;
}

.lh-footer-cta .lh-h2 {
  margin-bottom: 0.5rem;
}

.lh-footer-cta__sub {
  color: var(--lh-text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* --- Footer --- */
.lh-footer {
  background: var(--lh-primary);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
  font-size: 0.85rem;
}

.lh-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.lh-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lh-footer a:hover {
  color: #fff;
}

/* --- Scroll Animations --- */
.lh-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lh-fade-up.lh-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.lh-text-center {
  text-align: center;
}

.lh-mt-1 { margin-top: 0.5rem; }
.lh-mt-2 { margin-top: 1rem; }
.lh-mt-3 { margin-top: 1.5rem; }
.lh-mb-2 { margin-bottom: 1rem; }
.lh-mb-3 { margin-bottom: 1.5rem; }

/* --- Responsive refinements --- */
@media (min-width: 1024px) {
  .lh-section {
    padding: 5rem 0;
  }

  .lh-hero {
    padding: 6rem 0 5rem;
  }

  .lh-device-mockup {
    width: 320px;
    height: 400px;
  }
}
