.home-es .es-hero { padding-top: 24px; }
.home-es .es-hero .hero-grid { grid-template-columns: .9fr 1.35fr; min-height: 455px; }
.home-es .es-hero .hero-copy { padding-left: 0; }
.home-es .es-hero h1 { max-width: 570px; font-size: clamp(2.75rem, 4.2vw, 4.35rem); }
.home-es .es-hero h1 span { display: inline; }
.home-es .es-hero .hero-lead { max-width: 560px; }
.home-es .es-hero .hero-visual { margin-right: -5%; }
.home-es .es-hero .hero-visual img { object-position: 54% center; mix-blend-mode: normal; }
.home-es .es-stats { grid-template-columns: repeat(4, 1fr); }
.home-es .es-stats .stat-card { padding-inline: 20px; }
.home-es .es-system-heading { max-width: 900px; margin: 0 auto 26px; text-align: center; font-size: clamp(1.55rem, 2.5vw, 2.4rem); }
.home-es .challenge-column .check-list { grid-template-columns: 1fr 1fr; }
.home-es .challenge-column--pain .check-list { grid-template-columns: 1fr 1fr; }
.home-es .es-cta-band { grid-template-columns: 1.7fr .9fr auto; }
.home-es .es-authority .authority-copy { width: 39%; }
.home-es .es-authority .authority-points { width: 46%; }
.home-es .section-heading { max-width: 850px; }
.home-es .solution-card--featured { transform: none; }
.home-es .es-model-kicker { margin: 48px 0 0; }
.home-es .models-title { margin-top: 8px; }
.home-es .culture-core { text-align: center; font-size: .88rem; line-height: 1.15; }
.home-es .why-grid article { min-width: 0; }
.home-es .es-stats { margin-top: clamp(30px, 3.2vw, 46px); }
.home-es .es-human-note { position: relative; z-index: 2; margin: 24px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); color: #ef8ed9; font-size: .78rem; text-align: center; }
.home-es .dark-feature--global .section-kicker { color: #ef8ed9; }
.home-es .diagnostic-copy h2 { text-transform: uppercase; }

@media (max-width: 1120px) {
  .home-es .es-hero .hero-grid { grid-template-columns: 1fr 1.15fr; }
  .home-es .es-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .home-es .header-actions .button { min-width: 126px; }
  .home-es .header-actions .button::before { content: "Diseñar mi sistema"; }
  .home-es .es-hero .hero-grid { grid-template-columns: 1fr; }
  .home-es .es-hero .hero-copy { max-width: 660px; }
  .home-es .es-hero .hero-visual { margin: -2px -7% 0; }
  .home-es .es-stats { grid-template-columns: repeat(4, minmax(205px, 1fr)); }
  .home-es .es-stats { margin-top: 20px; }
  .home-es .es-cta-band { grid-template-columns: 1fr; }
  .home-es .challenge-column .check-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .home-es .header-actions .button { min-width: 108px; }
  .home-es .header-actions .button::before { content: "Diseñar sistema"; }
  .home-es .es-hero { padding-top: 8px; }
  .home-es .es-hero .hero-copy { padding-top: 16px; }
  .home-es .es-hero h1 { font-size: clamp(2.45rem, 11.3vw, 3.05rem); }
  .home-es .es-hero h1 span { display: inline; }
  .home-es .es-hero .hero-visual { min-height: 300px; margin: 4px -18% 0; }
  .home-es .es-hero .hero-visual img { min-height: 300px; object-position: 50% center; }
  .home-es .es-stats { grid-template-columns: repeat(4, minmax(205px, 1fr)); }
  .home-es .es-system-heading { font-size: 1.65rem; }
  .home-es .challenge-panel { grid-template-columns: 1fr 1fr; }
  .home-es .challenge-column { min-width: 0; padding: 20px 13px; }
  .home-es .challenge-column--pain { border-right: 7px solid #fff; border-bottom: 0; }
  .home-es .challenge-column .section-kicker { font-size: .61rem; letter-spacing: .08em; }
  .home-es .challenge-column .check-list { grid-template-columns: 1fr; gap: 12px; }
  .home-es .challenge-column .check-list li { padding-left: 22px; }
  .home-es .challenge-column .check-list strong { font-size: .69rem; }
  .home-es .challenge-column .check-list span { display: none; }
  .home-es .challenge-column .check-list li::before { width: 15px; height: 15px; font-size: .58rem; }
  .home-es .es-cta-band p { display: none; }
  .home-es .es-authority { padding-bottom: 218px; }
  .home-es .solutions-grid { margin-right: -14px; }
  .home-es .solution-card { flex-basis: 80vw; }
  .home-es .es-model-kicker { margin-top: 34px; text-align: left; }
  .home-es .models-title { font-size: 1.35rem; }
  .home-es .culture-core { font-size: .68rem; }
  .home-es .dark-feature--ai { padding-bottom: 22px; }
  .home-es .es-human-note { font-size: .68rem; }
  .home-es .dark-feature--global { min-height: 450px; }
  .home-es .method-steps li > span { font-size: .72rem; }
  .home-es .diagnostic-copy { max-width: 72%; }
}

@media (max-width: 390px) {
  .home-es .header-actions .button { min-width: 82px; }
  .home-es .header-actions .button::before { content: "Diseñar"; }
  .home-es .es-hero h1 { font-size: 2.35rem; }
  .home-es .challenge-column { padding-inline: 10px; }
}

/* Spanish market refinement */
.home-es .es-hero { padding-top: 36px; }
.home-es .es-hero .hero-grid { min-height: clamp(520px, 47vw, 640px); }
.home-es .es-hero h1 { max-width: 640px; font-size: clamp(3.1rem, 4.8vw, 5rem); }
.home-es .es-authority { min-height: 410px; }

@media (max-width: 860px) {
  .home-es .es-hero .hero-grid { min-height: 0; }
}

@media (max-width: 560px) {
  .home-es .es-hero h1 { font-size: clamp(2.65rem, 11.8vw, 3.45rem); }
}

/* Spanish mobile readability */
@media (max-width: 800px) {
  .home-es .es-hero { padding-top: 28px; }
  .home-es .es-hero h1 { font-size: clamp(2.45rem, 10.5vw, 3.4rem); }
  .home-es .es-hero .hero-visual { min-height: clamp(255px, 70vw, 340px); margin: 4px -10% 0; }
  .home-es .es-hero .hero-visual img { min-height: inherit; }
  .home-es .hero-actions { margin-bottom: 18px; }
  .home-es .es-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-top: 22px; }
  .home-es .challenge-panel { grid-template-columns: 1fr; }
  .home-es .challenge-column { padding: 28px 22px; }
  .home-es .challenge-column--pain { border-right: 0; border-bottom: 8px solid #fff; }
  .home-es .challenge-column .section-kicker { font-size: .68rem; letter-spacing: .13em; }
  .home-es .challenge-column .check-list { grid-template-columns: 1fr; gap: 11px; }
  .home-es .challenge-column .check-list strong { font-size: .82rem; }
  .home-es .challenge-column .check-list span { display: block; font-size: .72rem; }
  .home-es .challenge-column .check-list li::before { width: 18px; height: 18px; font-size: .65rem; }
  .home-es .es-cta-band p { display: block; }
  .home-es .es-authority { min-height: 0; padding-bottom: 0; }
  .home-es .es-authority .authority-copy,
  .home-es .es-authority .authority-points { width: 100%; max-width: none; }
  .home-es .culture-core { font-size: .76rem; }
  .home-es .es-human-note { font-size: .75rem; }
}

@media (max-width: 420px) {
  .home-es .es-stats { grid-template-columns: 1fr; }
}
