/* Homepage spacing and balance refinements. */
.hero { padding: 58px 0 62px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; min-height: 500px; }
.hero-copy, .hero-copy > p { max-width: 540px; }
.hero-visual { width: 100%; max-width: 540px; min-height: 440px; justify-self: end; }
.resume-card { inset: 8px 36px 8px 28px; padding: 30px; transform: rotate(1deg); }
.score-float { top: 54px; right: 0; }
.chat-float { bottom: 34px; left: 0; }
.section { padding: 78px 0; }
.section-head { margin-bottom: 38px; }

@media (max-width: 900px) {
    .hero { padding: 48px 0 54px; }
    .hero-grid { gap: 36px; min-height: 0; }
    .hero-copy { max-width: 680px; margin: auto; text-align: center; }
    .hero-copy > p { margin-right: auto; margin-left: auto; }
    .hero-actions, .trust-row { justify-content: center; }
    .hero-visual { width: min(620px, 100%); max-width: none; min-height: 420px; justify-self: center; }
}

@media (max-width: 560px) {
    .hero { padding: 38px 0 44px; }
    .hero-grid { gap: 24px; }
    .hero h1 { font-size: clamp(2.45rem, 13vw, 3.45rem); }
    .hero-copy > p { font-size: 17px; }
    .hero-actions { margin: 24px 0; }
    .trust-row { gap: 12px; line-height: 1.45; text-align: left; }
    .hero-visual { min-height: 350px; }
    .resume-card { inset: 6px 10px 12px 14px; padding: 20px; }
    .resume-photo { width: 52px; height: 52px; }
    .score-float { top: 35px; right: -3px; padding: 13px 15px; }
    .chat-float { bottom: 0; left: -2px; width: 205px; }
    .section { padding: 60px 0; }
}
