/* November audit fixes. Shared across generated pages. */
.topbar { position: relative; top: auto; animation: none; }
.hero-meta { text-transform: none; letter-spacing: normal; line-height: 1.65; }
.signal-grid .hero-service-number { display: block; color: var(--accent); font: 800 1.5rem/1.3 "Archivo", sans-serif; }
[hidden] { display: none !important; }
.hero, .page-hero { overflow: clip; }
.hero-points li, .page-stat { gap: .35rem; }
.hero-points strong, .page-stat strong { margin-right: .3rem; }
.hero-picture, .hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-shell { aspect-ratio: 4 / 3; }
.service-card .service-detail, .service-card:hover .service-detail, .service-card:focus-within .service-detail {
  max-height: none; opacity: 1; transform: none; overflow: visible;
}
.service-card { min-width: 0; height: auto; }
.service-card:hover, .service-card:focus-within { transform: none; }
.service-hint { opacity: 1; }
.audit-card-actions { display: grid; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.audit-text-link { color: #b8e62e; text-decoration: underline; text-underline-offset: .25em; }
.audit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.audit-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid #41463c; border-radius: 1rem; background: #20242a; min-width: 0; }
.audit-card p, .audit-card li { color: #c4cbbc; line-height: 1.7; }
.audit-card h3 { font-size: 1.35rem; line-height: 1.4; }
.audit-preview { display: flex; align-items: center; justify-content: center; min-height: 9rem; padding: 1rem; border-radius: .75rem; background: linear-gradient(140deg,#294839,#191f33); border: 1px solid #6b7a50; color: #e9efdf; font-weight: 700; text-align: center; }
.audit-card .button { margin-top: auto; }
.audit-optional { border: 1px solid #55604c; border-radius: .75rem; padding: 1rem; }
summary { cursor: pointer; min-height: 2.75rem; display: list-item; line-height: 1.7; }
.audit-optional-fields { display: grid; gap: 1rem; margin-top: 1rem; }
.contact-form .audit-check { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: .65rem; font-size: .95rem; line-height: 1.6; }
.contact-form .audit-check input { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; min-height: 0; padding: 0; margin: .2rem 0 0; accent-color: #b8e62e; }
.audit-check > span { flex: 1; min-width: 0; }
.audit-course { margin-top: 1rem; }
.audit-course p { margin: .75rem 0; }
.footer address { font-style: normal; line-height: 1.65; overflow-wrap: anywhere; }
.footer { width: 100%; margin-left: 0; padding-inline: 1.25rem; border-radius: 1rem 1rem 0 0; }
.footer-inner, .footer-bottom { width: 100%; min-width: 0; }
.footer address p { margin-bottom: 1rem; }
.footer-links { gap: .6rem; }
.footer-links li::before { content: ""; }
.footer-links a { display: inline-block; padding: .25rem 0; }
.footer-bottom { gap: 1.5rem; line-height: 1.8; }
.audit-map { display: flex; align-items: center; justify-content: center; min-height: 12rem; }
.audit-map iframe { width: 100%; height: 220px; border: 0; }
:focus-visible { outline: 3px solid #b8e62e; outline-offset: 4px; }
/* Content stays readable if enhancement fails or a visitor disables animation. */
.reveal { opacity: 1; transform: none; }
@media (max-width: 1100px) {
 .topbar { flex-wrap: wrap; }
 .topbar .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 1rem; }
 .nav a { padding: .6rem .3rem; }
}
@media (max-width: 760px) {
 .hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; }
 .hero-copy, .page-hero-copy, .audit-card { overflow-wrap: break-word; }
 .audit-grid { grid-template-columns: 1fr; }
 .enroll-qr, .enroll-qr img.qr-desktop-only { display: none; }
 .enroll-layout { grid-template-columns: 1fr; }
 .topbar { padding: .9rem; }
 .topbar > .button { font-size: .8rem; padding: .65rem .8rem; }
 .footer-inner { grid-template-columns: 1fr !important; }
 .audit-card { padding: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
